How To Select First Child In Scss Code Example


Example: css first child


:first-child {
//styles here
}

:nth-child(1) { //the benefit of this is you can do it for 2nd, 3rd etc...
//styles here
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable