This paragraph ends with an icon using ::after
.
p::after {
content: " ✔";
color: green;
}
This is a long paragraph that shows how the first line looks bold and styled differently from the rest.
p::first-line {
font-weight: bold;
color: #2c3e50;
}
This paragraph uses a large first letter for styling effect.
p::first-letter {
font-size: 2em;
color: #d35400;
}
input::placeholder {
color: #999;
font-style: italic;
}
Select some of this text to see custom highlight color.
p::selection {
background: #ffe600;
color: black;
}
li::marker {
color: red;
font-size: 1.2em;
}