css pseudo element after content code example
Example 1: css first element
p:first-child {
font-size: 1.5em;
}
Example 2: css selector for sibling element
/* Paragraphs that come immediately after any image */
img + p {
font-weight: bold;
}
p:first-child {
font-size: 1.5em;
}
/* Paragraphs that come immediately after any image */
img + p {
font-weight: bold;
}