Search
 
SCRIPT & CODE EXAMPLE
 

CSS

add expanding underline on page load css

#sec {
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
}
#sec:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0px;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}
#sec:hover:after {
  width: 100%;
  background: blue;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css flex bottom 
Css :: command line download file from google drive 
Css :: how to horizontally center header at the top of page with flexbox css 
Css :: background image repeat css 
Css :: change font size in textarea html 
Css :: opacity 
Css :: background-attachment 
Css :: width css 
Css :: how to make fixed position responsive 
Css :: change text in a div css 
Css :: how to center text in a div 
Css :: closing modal on iframe movies still running 
Css :: inline pseudo element 
Css :: background position 
Css :: align absolute div center 
Css :: wpforms submit button css 
Css :: how to change link color hover button text 
Css :: Border property to set the LEFT border to "dotted" 
Css :: webpack 5 compile scss to css file 
Css :: nuxt page transition 
Css :: padding css shorthand 
Css :: div set text colo0r 
Css :: background color in hex css 
Css :: make border absolute css 
Css :: css line-height default 
Css :: :not(:hover) 
Css :: css change the accordion arrow color 
Css :: animation-direction in css 
Css :: deobfuscate css 
Css :: background css image 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =