ORIGIN

CSS Rules

CSS

Some of the basic rules of CSS and also a learning and reviewing Records of CSS.

Selectors

id selectors(one container)

1
2
3
4
#name {
color:green;
}
<p id="name"></p>

class selectors(multiple container)

1
2
3
4
.name {
color: blue;
}
<p class="name"></p>
TOP
COMMENT
  • ABOUT
  • |
John Doe
  The Jigsaw puzzle is incomplete with even one missing piece. And I want to be the last piece to make the puzzle complete.
Like my post?
Default QR Code
made with ❤️ by o_oyao
©John Doe 2019-2024

|