Minimal CSS for JavaScript components
See original GitHub issueWould you ever consider including CSS or Sass files that contain just the minimum amount of styling for JavaScript components?
Currently you can conditionally include Sass files per component, but often when I’m working off an existing design I need to implement, I would have to override all those styles somehow, which includes borders, shadows, etc. If I could include just the bare minimum, I may save some time.
I went ahead and created minimal versions for each component, just to see what it would look like:
alert.js: https://codepen.io/DannyJoris/pen/NvLGJW/button.js: https://codepen.io/DannyJoris/pen/mMGeNvcarousel.js: https://codepen.io/DannyJoris/pen/rzZxxzcollapse.js: https://codepen.io/DannyJoris/pen/yoxoagdropdown.js: https://codepen.io/DannyJoris/pen/jLvbzOmodal.js: https://codepen.io/DannyJoris/pen/YxOYNBpopover.js: https://codepen.io/DannyJoris/pen/JyapdVscrollspy.js: https://codepen.io/DannyJoris/pen/ZJwdbv (can be stripped down more)tab.js: https://codepen.io/DannyJoris/pen/brxKPKtooltip.js: https://codepen.io/DannyJoris/pen/RZYyrv
Let me know what you think.
Issue Analytics
- State:
 - Created 6 years ago
 - Reactions:1
 - Comments:7 (4 by maintainers)
 
Top Results From Across the Web
Minimal CSS Frameworks: 10 Great Choices - Stack Diary
Minimal CSS Frameworks: 10 Great Choices. CSS frameworks provide the means to speed up the process of scaling website and app designs.
Read more >Pico.css • Minimal CSS Framework for semantic HTML
Great styles with just CSS. No dependencies, package manager, external files, or JavaScript. Responsive everything. Elegant and consistent adaptive spacings ...
Read more >11 Excellent CSS Frameworks - JavaScript in Plain English
Large selection of components; Easy to customize; Material Design. 11. Milligram. Milligram is a minimal CSS framework that does not rely on JavaScript....
Read more >MVP.css - Minimalist stylesheet for HTML elements
A minimalist stylesheet for HTML elements. No class names, no frameworks, just semantic HTML and you're done . Download HTML ↗Download MVP.css (9kb)...
Read more >10 lightweight CSS frameworks without jQuery
10 lightweight CSS frameworks with no jQuery or additional JS dependencies · 1. Bulma [Based on Flexbox] · 2. HiQ [A high-IQ CSS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@iamandrewluca - surely just override the
$theme-colorsarray and remove the colours you don’t need?That’s can be a solution @IamManchanda 👍