Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ExtPay
The JavaScript library for ExtensionPay.com — payments for your browser extensions, no server needed.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Hi, author of MCP.css here.
For those interested in the discussions around this, please refer to:
https://github.com/andybrewer/mvp/issues/26
https://github.com/andybrewer/mvp/issues/2
I would concede that the use of ‘a strong’, ‘section aside’, etc. does require some learning and the styling is perhaps unique, but I don’t think it’s invalid in any way.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/st...
> The HTML element indicates that its contents have strong importance, seriousness, or urgency.
In MVP.css links are already in bold by default, so ‘strong’ text inside a link requires more “urgency” than bold text, which is styled as a button.
Sure, I’ll grant that it’s atypical, but I don’t think it’s obviously wrong in some way.
Same with ‘aside’:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/as...
> The
HTML element represents a portion of a document whose content is only indirectly related to the document's main content. Asides are frequently presented as sidebars or call-out boxes.I think cards are basically “call-out boxes”.
But at the end of the day, this style sheet doesn’t have to be for everyone and it’s really designed for someone who’s rapid prototyping.
That said, I do think buttons and cards are important to most web page layouts so if there’s a better semantic way to codify those, I’m open to pull requests.
My go to seems to not be in your list yet:
https://newcss.net
I always use this if I need to quickly make some structured info visible on the web. Works on mobile, works in dark mode, looks inoffensive and professional and is super small.
Makes it just so easy to switch and select. Embed in your html page, select an item from the drop down and see what it does to the page, when you’re happy, remove ! Simple. Genius. Wonder why I never thought of it.
Also has a demo page [2] to try it out
[1]: https://github.com/dohliam/dropin-minimal-css
[2]: https://dohliam.github.io/dropin-minimal-css/
full list here: https://github.com/sw-yx/spark-joy/blob/master/README.md#dro...
Of course! I took this idea from the milligram project [1], but if you feel like it is a downside I am open to hearing your arguments. Feel free to open an issue [2] so we can discuss it.
[1]: https://github.com/milligram/milligram/blob/master/src/_Base...
This stylesheet has been invaluable for moving fast on my side project: https://extensionpay.com/
One pro-tip though — I found that using unpkg slowed down the page a ton sometimes. I serve the file myself and it's been much faster. YMMV but thought y'all should know just in case.
I think this is the same category as https://github.com/sindresorhus/modern-normalize
`modern-normalized.css` can be for MVP too. Honestly few < 100 lines on top of normalized one isn't that much work.