Simple Concept
  • Blog
  • Tools
  • Commands

CSS Trick

A collection of 2 posts

CSS Trick

Pure CSS Approach for Keeping Aspect Ratio

A problem of responsive development is to keep the aspect ratio of a container. For example, we don't want a video to be stretched when we resize the browser, or we want the

Tim Wong Tim Wong
CSS Trick

CSS: Vertically Align Text in Horizontal Menu

Specification Horizontal Menu Each item has fixed width Each item contains text with one or more rows All item should be vertically centered Solution http://jsfiddle.net/6L1kgto3/ Note The trick is to

Tim Wong Tim Wong
Simple Concept © 2025
Latest Posts Ghost