CSS - Background position and size

0 votes
491 views
added Aug 21, 2018 in CSS by LC Marshal Captain (25,790 points)
background: #fff url('../ui/angle-down-bold.svg') no-repeat 92% center;
background-size: 26px;

 

1 Response

0 votes
responded Jul 26, 2021 by lcjr First Warrant Officer (11,700 points)
.background-position {
  background-position: center left;
  
  /*setting for side (0) and top/bottom (2px)*/
  background-position: 0 2px;
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...