/* 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 :: in 10 seconds fade in a card html css |
Css :: codemirror resizable |
Css :: hover effects css |
Css :: svg background |
Css :: contrast color using css |
Css :: lando expose database port |
Css :: css change background color |
Css :: css hide select label |
Css :: tailwind simple product card |
Css :: dict to sql python |
Css :: insert checkbox into combobox css |
Css :: make element scale to page |
Css :: html css landing page |
Css :: difference bw box and border box |
Css :: bootstrap-navbar-containers |
Css :: add css class c# |
Css :: css menu horizontal |
Css :: min function css |
Css :: restore mariadb from bz2 file cli |
Css :: @font-face or font link |
Css :: vim unset number |
Css :: padding |
Css :: after and before css |
Css :: selectors combinators css |
Css :: css pseudo elements |
Css :: htacess mono-site |
Css :: string interning in python |
Css :: text-align: left; width: 100%; |
Css :: make changes to api fetch onclick in react |
Css :: css selector data-entity-type |