Answers for "border small 0"

CSS
0

border-bottom smaller 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;
}
Posted by: Guest on March-27-2020
0

css border with 8 values

/* Using border radius with 8 Values for more control */
border-radius: 16% 21% 34% 35% / 19% 39% 21% 56%
/* Read the Source for more information */
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language