css first of type
:first-of-type {
//styles here
}
:first-child {
//styles here
}
:nth-child(1) { //the benefit of this is you can do it for 2nd, 3rd etc...
//styles here
}:first-of-type {
//styles here
}p:first-of-type {
font-size: 1.25em;
}
Also in CSS:
- css internal style
- button href
- css rotate text
- css align center
- hr css mdn
- css shadow generator
- how to remove bevel effect from button css
- align ionic icons and text css
- css image radius
- custom scroll bar
- css animations examples
- css reset margin padding
- sketchup make
- responsive font sizing css
- css display grid
- html css make p div into two lines
- margin in css
- css prevent line wrap
- use PurifyCSS with hugo
- italic in css
- css scroll snap
- css url do not change color of visited links
- online bootstrap css file link
- texto com tamanho maximo ler mais html