One of the tasks at hand is to increase the size of the initial letter in each P
element that does not have the class ejemplo
or the id lectura
.
The following code snippet accomplishes this successfully:
p::first-letter {
font-size: 300%;
}
However, trying to adjust it based on the requirements like below does not yield the desired result:
p::first-letter:not([class="ejemplo"]):not([id="lectura"]) {
font-size: 300%;
}
As a CSS beginner, I am unsure about what mistake I might be making.