CSS Dot Selector

Selector start with dot

.class_name signifies class name
Two doted selector separated by space

.outside .inside

means element with .inside class descended from an element with class .outside
Two doted selector without separation

.name1.name2

means element that has both class name1 and name2 eg: class=”name1 name2″

Leave a Reply

Your email address will not be published. Required fields are marked *