Answers for "css inset() css"

CSS
4

what is inset in css

The inset CSS property is a shorthand that corresponds to the top, right, 
bottom, and/or left properties. It has the same multi-value syntax of the 
margin shorthand.

While part of the CSS Logical Properties specification, it does not define 
logical offsets. It defines physical offsets, regardless of the element's 
writing mode, directionality, and text orientation.
Posted by: Guest on November-16-2021
0

inset css

div {
  background-color: yellow;
  width: 120px;
  height: 120px;
}

.exampleText {

  position: relative;
  inset: 20px 50px 30px 10px;
  background-color: #c8c800;
}
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language