DRY-BEM with SCSS
How do I make an dry-bem with scss?
What is a dry-bem with scss? How do you make a dry-bem with scss? This script and codes were developed by Jesper Hills on 28 January 2023, Saturday.
DRY-BEM with SCSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>DRY-BEM with SCSS</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .box, .box--colour { border: 1px solid #ccc; padding: 0 1rem; margin: 1rem; float: left;
}
.box--colour { border-color: blue;
}
.box__text, .box__text--bold { font-family: Georgia;
}
.box__text--bold { font-weight: bold;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="box"> <p class="box__text">Default</p>
</div>
<div class="box"> <p class="box__text--bold">Default bold</p>
</div>
<div class="box--colour"> <p class="box__text">Colour</p>
</div>
<div class="box--colour"> <p class="box__text--bold">Colour bold</p>
</div>
</body>
</html>
DRY-BEM with SCSS - Script Codes CSS Codes
.box, .box--colour { border: 1px solid #ccc; padding: 0 1rem; margin: 1rem; float: left;
}
.box--colour { border-color: blue;
}
.box__text, .box__text--bold { font-family: Georgia;
}
.box__text--bold { font-weight: bold;
}
Developer | Jesper Hills |
Username | nopr |
Uploaded | January 28, 2023 |
Rating | 3 |
Size | 2,211 Kb |
Views | 2,024 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS3 Record Collection | 3,602 Kb |
CSS3 Text Masking | 2,609 Kb |
Vertically rotating text with CSS | 2,141 Kb |
Full-height content with footer below fold | 2,350 Kb |
Click-activated fluid width slider | 2,567 Kb |
Mobile UI Concept | 3,761 Kb |
CSS 3D Carousel | 2,986 Kb |
CSS Radar, variable speed | 4,382 Kb |
Peeling Button | 2,214 Kb |
Using label to style File Input | 2,646 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Filter inputs | Rowinf | 1,721 Kb |
A Pen by Alex Bergin | Abergin | 3,347 Kb |
A Pen by Jason Kinney | Jason-kinney | 1,980 Kb |
Dribbble Template | ExtremelyGinger | 2,204 Kb |
Cars going | Netoguimaraes | 1,699 Kb |
Fixed with using Calc | Tomleo | 2,542 Kb |
404 Error Page | WebSonick | 3,203 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 Kb |
Stylize Stories | Jvhti | 2,465 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!