Aws
Auth
Axios
Admin
Angular
Android
Atom Payment
BPO
BcryptJs
Bootstrap
Basic Computer
C Language
C++
Css
Canva
Common questions
CorelDraw
Cloudinary
Content Writer
DSA
Django
Error
Excel
ExpressJs
Flutter
Github
Graphql
GoDaddy
HR
Html5
Hostinger
Jwt
Java
Json
Jquery
Javascript
Linux OS
Loopback API
MySQL
Manager
MongoDB
Marketing
MS Office
Mongoose
NodeJs
NextJs
Php
Python
Photoshop
PostgreSQL
PayU Payment
Paypal Payment
Redux
ReactJs
Router
React Native
React Router Dom
React Helmet
Sass
SEO
SMO
Stripe Payment
System Administrator
Software Testing
Typescript
Tailwind
Telesales
Tally
VueJs
Windows OS
XML
Sass
#nwKArl
What are SASS placeholders and how do they differ from regular classes?
Description : Using SASS placeholders for style reuse.
Answer :
SASS placeholders, defined with `%placeholder`, are used to create reusable styles that can be extended but not directly applied. For example, `%card-base { padding: 10px; border: 1px solid; }` can be extended with `.card { @extend %card-base; }`. Unlike regular classes, placeholders don’t generate CSS on their own; they’re designed for inheritance and modularity, promoting clean and DRY code.
Category : Sass
Created Date : 9/8/2024
Show more answersWrite your answer
Related Questions
Total : Paid :Free :Page :1
No questions found!
Sorry, we couldn't find any data!