Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, but not directly through CSS: - SASS (<a href="http://sass-lang.com/" rel="nofollow">http://sass-lang.com/</a>) for example, allows you to do:</p> <pre><code>.user.post{ margin-top:10px; .photo{} .video{} } </code></pre> <p>which becomes</p> <pre><code>.user.post{margin-top:10px;} .user.post .photo{} .user.post .video{} </code></pre> <p>or if you can only use js, theres LESS (<a href="http://lesscss.org/" rel="nofollow">http://lesscss.org/</a>):</p> <pre><code>.bordered { border-top: dotted 1px black; border-bottom: solid 2px black; color:blue; font-weight:bold; margin-left:20px; } .post, .video { .child, .sibling { .parent &amp; { color: black; } &amp; &amp; { .bordered; } } } </code></pre> <p>becomes </p> <pre><code>.bordered { border-top: dotted 1px black; border-bottom: solid 2px black; color: blue; font-weight: bold; margin-left: 20px; } .parent .post .child, .parent .video .child, .parent .post .sibling, .parent .video .sibling { color: black; } .post .child .post .child, .post .child .video .child, .post .child .post .sibling, .post .child .video .sibling, .video .child .post .child, .video .child .video .child, .video .child .post .sibling, .video .child .video .sibling, .post .sibling .post .child, .post .sibling .video .child, .post .sibling .post .sibling, .post .sibling .video .sibling, .video .sibling .post .child, .video .sibling .video .child, .video .sibling .post .sibling, .video .sibling .video .sibling { border-top: dotted 1px black; border-bottom: solid 2px black; color: blue; font-weight: bold; margin-left: 20px; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload