Raving Genius
  • Impossible
  • Legal
Subscribe
Tagged

CSS

A collection of 1 post

Notes

Triangle Front End Notes - CSS Layout Techniques

CSS Layout Techniques 2016-11-03 by Bermon Painter (Meetup) (Twitter) Hardest problem on web... Horizontally and vertically centered box. body { display: flex; align-items: center; justify-content: center; } .box { height: 100px; width: 100px; } Previous best solution was floats with .clearfix. This improved with psuedo-selectors, but was still not ideal. Flexbox & Grid (Not

  • Thomas Ingram
Thomas Ingram Nov 3, 2016 • 1 min read
Raving Genius © 2022
Powered by Ghost