Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css: element.class.class - what does it mean?

Here is a code snippet:

div.note.note_expanded

What does it mean? I understand div.className, but what is the second dot?

like image 484
shealtiel Avatar asked Dec 08 '25 02:12

shealtiel


1 Answers

A div that has the class note and note_expanded at the same time

Something like <div class='note note_expanded'> would match that.

like image 90
Robert Avatar answered Dec 10 '25 16:12

Robert



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!