Monday, 15 August 2011

'%' in SASS, what does it mean -


I saw this code when I was checking the Drupal Omega 4 theme

  % Container {@ container included; @ Grid-background included; }   

What does 'container' mean? What is '%' for placeholder selectors?

% Foo

saas one Supports special type selectors called "placeholder selector", it has been replaced by # or excluding%, just like class and id selectors, they say that to be used with @extend instructions; For more information, see @Edit-only selectors.

Without any use of @extend, the rules that use placeholder selectors themselves will not be rendered on CSS.

No comments:

Post a Comment