Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to set border length in css without div

div {
  width   : 200px;
  height  : 50px;   
  position: relative;
  z-index : 1;
  background: #eee;
}

div:before {
  content : "";
  position: absolute;
  left    : 0;
  bottom  : 0;
  height  : 1px;
  width   : 50%;  /* or 100px */
  border-bottom:1px solid magenta;
}
Comment

css border without changing size

outline: 1px solid black;
Comment

PREVIOUS NEXT
Code Example
Css :: position absolute horizontally center 
Css :: difference between :after and ::after 
Css :: css prevent background scrolling 
Css :: laravel enum column 
Css :: how to set transition in keyframe 
Css :: css max width media 
Css :: media screen hp 
Css :: how to select classes that start with a certian name 
Css :: resize in css 
Css :: css for disabled button 
Css :: center flex 
Css :: how to use css transform matrix 
Css :: css input border radius focus 
Css :: css combinators 
Css :: sass import variable from another file 
Css :: line cap css 
Css :: bootstrap modal resize with jquery 
Css :: golden color css 
Css :: input area bootstrap highlight 
Css :: how to increase text height css 
Css :: html input type colour internal border 
Css :: css bold weight 
Css :: css font variant small caps 
Css :: taille texte css 
Css :: link text underline css none 
Css :: how to center image in css 
Css :: css grid auto row 
Css :: display in css 
Css :: move text in a padding css 
Css :: grid-column css 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =