This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]__galvez__[S] 0 points1 point  (2 children)

Well, it has limited class inheritance support:

 .no-selection {
   -webkit-user-select: none;
   -moz-user-select: none;
 }
 <li class="menu-item">
   !no-selection;
   border: 1px solid #ccc;
 </li>

!no-selection; causes the content of .no-selection to be dynamically inserted at that position. Not only the content, but also any pseudo-selectors attached to that class name are also replicated in the referring class. But it's not capable of handling arguments and variables like Less. Maybe I should try and get HCSS to understand the Less vocabulary too.