You can add a transparent border to the non-hover state to avoid the “jumpiness” when the border appears:
#homeheader a:visited, #homeheader a{
border:1px solid transparent;
}
More Related Contents:
- CSS Image Effects
- How to remove the stripes that appears when using linear gradient property [duplicate]
- Can media queries resize based on a div element instead of the screen?
- nth-child doesn’t respond to class [duplicate]
- Which CSS properties are inherited?
- Why are CSS named grid areas not in quotes?
- How do I debug CSS calc() value?
- parent & child with position fixed, parent overflow:hidden bug
- How to style icon color, size, and shadow of Font Awesome Icons
- What does “i” mean in a CSS attribute selector?
- Is there a SASS.js? Something like LESS.js?
- CSS specificity, Media Queries and min-width
- Chrome Font appears Blurry
- First lowercase the text then capitalize it. Is it possible with CSS?
- CSS precedence
- Apply style ONLY on IE
- CSS Div stretch 100% page height
- How to align an image dead center with bootstrap
- Bootstrap 3 modal vertical position center
- Multiple font-weights, one @font-face query
- How to compile or convert sass / scss to css with node-sass (no Ruby)?
- What’s the maximum pixel value of CSS width and height properties?
- What is the meaning of \9 in this width property value declaration? [duplicate]
- What is the meaning of `auto` value in a CSS property.
- Bootstrap Modal sitting behind backdrop
- How to add animated gradient to an svg path?
- How to push a footer to the bottom of page when content is short or missing?
- Bootstrap change div order with pull-right, pull-left on 3 columns
- What CSS selector can be used to select the first div within another div
- CSS: How to change colour of active navigation page menu