One Page

CSS Selectors

July 19, 2019

# : Selects on the ‘id’ attribute. #output matches: <div id="output" />

. : Selects on the class .user-input matches: <div class="user-input" />

tag name : selects on the tag p matches: <p ></p>

Ready to get more advanced? Look here

Have suggestions for a topic I should cover? Send me a dm at @AniketSMK or email me at hello@[firstname][lastname].com


Aniket Kadam, author

Written by Aniket Kadam - building useful things. Follow me on Twitter