3 ms·
I like this post. I felt bad forcing my HTML to fit Bootstrap. Using @extends to keep everything semantic ensures my templates logically sound.
by generj 13y ago
I like this post.
I felt bad forcing my HTML to fit Bootstrap. Using @extends to keep everything semantic ensures my templates logically sound.
- hadem 13y agoBut what are your actual benefits to your semantic layout besides "not feeling bad"? It seems that using the @extends creates just as many issues as it solves.
- gnaritas 13y agoOne of the best benefits is confining the style to the stylesheet so it can be swapped out allowing per customer skinning of the app.
- pygy_ 13y agoWhat kind of problems would it create? I'm not familiar with SASS, but the approach described in the article looks interesting to me. I like to keep the markup as semantic as possible, and keep the structure/presentation distinct. I find it easier to reason about.
- Bahamut 13y agoIt bloats your compiled stylesheet.