1
2
// a border-box mixin
// (which I assume everyone has in their partials?)
Not exactly the most modern implementation of a middle-aligned, center-aligned content box. But it's a rather simple and useful solution to a huge short-coming of CSS. I still use it often.
1 Response
Write a comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.