I’m trying to find out if element grouping exists in CSS. Let’s say I have following code:
.user-form .group-area .test, .user-form .group-area .test2{}
Is there any way to group .test and .test2 and do something like this:
.user-form .group-area (.test .test2){}
This means that same style will apply for both .test and .test2 elements without needing to repeat .user-form .group-area second time.
You can use this–> http://lesscss.org/#synopsis