Live data from Hacker News

MVP.css – Minimalist stylesheet for HTML elements

andybrewer.github.io

81–90 of 122 posts

Re: MVP.css – Minimalist stylesheet for HTML elements

#81
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.

Re: MVP.css – Minimalist stylesheet for HTML elements

#82
post #77

> [pro tip] Add this code to a new HTML file: > https://unpkg.com/mvp.css "> That’s not a "pro tip"; that’s a very bad advice: you should always use versioned URLs. What if I find this project cool; add this URL in my HTML; and then the author changes things in ways I don’t like? It’ll break my website. If I used something like ` https://unpkg.com/mvp/v2.3.45/mvp.css ` I’d be sure it wouldn’t happen.

Is this likely to change a great deal? An mvp css?

You can always just copy it yourself.

Re: MVP.css – Minimalist stylesheet for HTML elements

#84
post #77

> [pro tip] Add this code to a new HTML file: > https://unpkg.com/mvp.css "> That’s not a "pro tip"; that’s a very bad advice: you should always use versioned URLs. What if I find this project cool; add this URL in my HTML; and then the author changes things in ways I don’t like? It’ll break my website. If I used something like ` https://unpkg.com/mvp/v2.3.45/mvp.css ` I’d be sure it wouldn’t happen.

Embedding external styles may also violate users privacy and may not be okay with the European GDPR. To be on the safe side, you should only load external resources after the user agreed in a consent dialog. Or just host them on your web server!

Re: MVP.css – Minimalist stylesheet for HTML elements

#85
post #82
post #77

> [pro tip] Add this code to a new HTML file: > https://unpkg.com/mvp.css "> That’s not a "pro tip"; that’s a very bad advice: you should always use versioned URLs. What if I find this project cool; add this URL in my HTML; and then the author changes things in ways I don’t like? It’ll break my website. If I used something like ` https://unpkg.com/mvp/v2.3.45/mvp.css ` I’d be sure it wouldn’t happen.

Is this likely to change a great deal? An mvp css? You can always just copy it yourself.

Yes, you should copy it and include it in your project rather than pointing to an external URL.

Re: MVP.css – Minimalist stylesheet for HTML elements

#86
post #77

> [pro tip] Add this code to a new HTML file: > https://unpkg.com/mvp.css "> That’s not a "pro tip"; that’s a very bad advice: you should always use versioned URLs. What if I find this project cool; add this URL in my HTML; and then the author changes things in ways I don’t like? It’ll break my website. If I used something like ` https://unpkg.com/mvp/v2.3.45/mvp.css ` I’d be sure it wouldn’t happen.

To quote further down the page “An MVP is a temporary site, it doesn't have to be and shouldn't be perfect.”

Re: MVP.css – Minimalist stylesheet for HTML elements

#88
post #85
post #82

Earlier quoted context omitted.

Is this likely to change a great deal? An mvp css? You can always just copy it yourself.

Yes, you should copy it and include it in your project rather than pointing to an external URL.

Generally that’s what I do for consistency for small projects / sites I make so I know I don’t have to worry about it.

Re: MVP.css – Minimalist stylesheet for HTML elements

#89
post #77

> [pro tip] Add this code to a new HTML file: > https://unpkg.com/mvp.css "> That’s not a "pro tip"; that’s a very bad advice: you should always use versioned URLs. What if I find this project cool; add this URL in my HTML; and then the author changes things in ways I don’t like? It’ll break my website. If I used something like ` https://unpkg.com/mvp/v2.3.45/mvp.css ` I’d be sure it wouldn’t happen.

First thing I saw looking a the site. I was like "This is incredibly idiotic."

I'll take a basic tailwind install for this use any day. Not it's not minimal but it is reliable and straightforward for prototyping..

Post reply on HN