JulianNorton / subreddit-css

used for /r/web_design and /r/graphic_design
https://www.reddit.com/r/web_design
45 stars 23 forks source link

Fixed the button hover and active jerkiness #14

Closed GeKorm closed 10 years ago

GeKorm commented 10 years ago

The current implementation causes the layout below the button to jerk up and down when hovering or clicking it. This is because borders affect the element's offset height. My proposal is to use box-shadow to achieve the same effects without any side-effects.

purduekenny commented 10 years ago

Did we add the code to the subreddit?

JulianNorton commented 10 years ago

yes?

@JulianNorton https://twitter.com/JulianNorton | Designer

On Thu, Oct 23, 2014 at 9:23 PM, Kenny Wilson notifications@github.com wrote:

Did we add the code to the subreddit?

— Reply to this email directly or view it on GitHub https://github.com/JulianNorton/web_design/pull/14#issuecomment-60333119 .