Sass Placeholder Selectors
Sass Placeholder Selectors
Sass Placeholder Selectors is used to extend the CSS properties, whenever necessary.
Placeholder Selectors always starts with a % and it's not included in the CSS output.
The following example will have no effect as we are not extending the placeholder selectors.
Example
Syntax
Extending Placeholder Selectors
In the following example we are extending placeholder selectors with @extend
At-Rule.
Example
Extending Placeholder Selectors in Multiple Selectors
In the following example, we are extending the placeholder selectors in multiple selectors.
Example
Reminder
Hi Developers, we almost covered 99.1% of Sass Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in Sass.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.