Posted over 9 years ago. Visible to the public. Linked content.

Image Rollover Borders That Do Not Change Layout | CSS-Tricks

It’s a fact of CSS life that the ‘border’ of any block level element gets factored into it’s final box size for layout. That means that if you add a border on a hover to an element that didn’t already have a border of that exact size, you will cause a layout shift.

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Avatar
Lexy
Last edit:
almost 9 years ago
Keywords:
css
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Lexy to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more