/* This is a CSS comment! */
/* Remember that you have to add the end bit on comments or all your
code will turn to comments! Thease comments can go over several lines! */
/* a comment in css */
/* This is a comment for heading styles */
h1 {
color: red;
}
/* This is a CSS comment! */
/*
This is
multiline
comment
*/
// Do some stuff {}
.foo { animation: bar 1s infinite; }
/* Success! */
/* This is how you comment in CSS */
/* CSS comment
any line */
<!-- HTML comment
any line -->
// Javascript comment single line
/* Javascript comment
multiline */
/* This is a CSS comment */
/* It is
also
multiline */
/* Wrap your CSS comments like this */
/*
You can also do something like this
for multi-line comments...
*/
/*************************
** Or You Can Get Fancy **
**************************
- Fancy point 1
- Fancy point 2
*/
/*short comment*/
/*loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong comment*/
/*
multiple
line
comment
*/
/*Comments won't be shown on the page or effect the code but will remain in website code. Useful for commenting what is the code for*/
/* The only requirements for comments are
slash star at the start and star slash at the end */
/*/ But i prefer writing comments with an extra slash cus it looks better /*/
/*This is a CSS comment*/
/*Have a nice day!!! :)*/
/* There is just single way to comment in css and its just
like this:
/* your comment content*/
/* Use the "/*" at the start and swap them at the end of your comment! Put your string into the argument.*/
/* A CSS comment is placed inside the <style> element, and starts with /* and ends with */ */
/*
p {
color: white;
background-color: #2594A4;
}
*/
Code Example |
---|
Css :: rgb blue color code |
Css :: opacity |
Css :: how to disable css-select select box |
Css :: how to make a game engine |
Css :: scss generate random color |
Css :: css change image width |
Css :: make previous commit master |
Css :: change text in a div css |
Css :: change bg color on hover |
Css :: flex grow |
Css :: how create checkbox ui like disabled checkbox using css |
Css :: css margin top responsive |
Css :: inline input form css |
Css :: how to add default font css |
Css :: rgba blue |
Css :: button click css style |
Css :: css clippath |
Css :: remove auto focus selected background color |
Css :: css class |
Css :: add css variables without global |
Css :: double color background css |
Css :: grid css fr width of content |
Css :: css resets |
Css :: css hover rounded corners |
Css :: css active |
Css :: scss darken color |
Css :: repeating gradient |
Css :: body{text-align: center;} |
Css :: *{ margin: 0; padding: 0; box-sizing: border-box; } |
Css :: css italics |