Basic use
example.css
.note::before {
content: "Note: ";
font-weight: 700;
}
Generated content inserts text or replaced content via pseudo-elements without changing the HTML tree.
.note::before {
content: "Note: ";
font-weight: 700;
}.note::before {
content: "Note: ";
font-weight: 700;
}.note::before {
content: "Note: ";
font-weight: 700;
}Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful