Search
 
SCRIPT & CODE EXAMPLE
 

CSS

nav items moving when hover

<ul>
    <li><a href="#" title="height">height</a></li>
    <li><a href="#" title="icon">icon</a></li>
    <li><a href="#" title="left">left</a></li>
    <li><a href="#" title="letter-spacing">letter-spacing</a></li>
    <li><a href="#" title="line-height">line-height</a></li>
</ul>
 Run code snippet
Comment

nav items moving when hover

a, li {
  color: black;
  text-decoration: none;
  font: 18px sans-serif;
  letter-spacing: 0.03em;
}
li {
  display: inline-block;
  margin-right: 20px;
  color: gray;
  font-size: 0.7em;
}
.bold-x1 a.hover:hover,
.bold-x1 a:not(.hover) {
  text-shadow: 0 0 .01px black;
}
.bold-x2 a.hover:hover,
.bold-x2 a:not(.hover){
  text-shadow: 0 0 .01px black, 0 0 .01px black;
}
.bold-x3 a.hover:hover,
.bold-x3 a:not(.hover){
  text-shadow: 0 0 .01px black, 0 0 .01px black, 0 0 .01px black;
}
.bold-native a.hover:hover,
.bold-native a:not(.hover){
  font-weight: bold;
}

.bold-native li:nth-child(4),
.bold-native li:nth-child(5){
 margin-left: -6px;
 letter-spacing: 0.01em;
}
Comment

PREVIOUS NEXT
Code Example
Css :: disabled attribute on button still showing click animation safari macos 
Css :: bootstrap quebra de linha na tabela 
Css :: 0 
Css :: Apply "small-caps" to an element 
Css :: como dibujar un cuadro en css 
Css :: use PurifyCSS with hugo 
Css :: sintask css 
Css :: parcel-bundler bulma css 
Css :: twig data uri 
Css :: button slant right with icon 
Css :: easy way raise specificity css 
Css :: order 
Css :: clamp(css) 
Css :: como fazer listrada css 
Css :: CSS or locator 
Css :: cop pics css 
Css :: mouse hover text zoom effect 
Css :: slect all li that not have ul 
Css :: color custom css use in laravel 
Css :: width height samsung note 20 screen 
Css :: slick cuted shadow 
Css :: groupby 
Css :: position relative and absolute difference in css 
Css :: best os for programming 
Css :: alumina formula 
Typescript :: mongodb exists and not null 
Typescript :: install typescript using npm 
Typescript :: import lodash issue angular 
Typescript :: typescript canvas 
Typescript :: cheats for dino game chrome 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =