3 ms·
Using Bootstrap for a small 5-page site is like taking a cruise ship for a canoe ride. It's not that hard to build really lightweight HTML and then just only w
by err4nt 11y ago
Using Bootstrap for a small 5-page site is like taking a cruise ship for a canoe ride.
It's not that hard to build really lightweight HTML and then just only write the CSS you need. I specialize in taking sites and making them responsive, and the first thing I do is go in there and get rid of all the classes extra tags everywhere clogging up the works.
With tools like Bootstrap you end up using bloated, heavy HTML to get a few mediocre responsive breakpoints, but it's no comparison to a properly responsive page.
Here's some button and input styles in a single-file HTML5 app: http://staticresource.com/encode http://staticresource.com/encode
Here's a set of responsive content blocks where the breakpoints are measured based on the width of the block, not the browser: http://staticresource.com/block-styles.html http://staticresource.com/block-styles.html
Or check out the CSS of http://elementqueries.com http://elementqueries.com to see how a simple, easy to read layout can be done with just a touch of CSS at the top of the page.
None of these use Bootstrap, and if I had even so much as linked to them, I'd be working against the defaults they bring in.
Here's what I use as my 'reset' that I bring in to every project, it's a much smaller set of opinions and leaves me more free to just build what I want: https://gist.github.com/tomhodgins/c4988b9d9878763ae861 https://gist.github.com/tomhodgins/c4988b9d9878763ae861
- wil421 11y agoThank you the links are very appreciated. I do feel like I am fighting against parts of bootstrap at times. Responsive websites are the reason I used bootstrap in the first place. It's very easy to build a responsive website with out of the box bootstrap.