Answers for "inset css"

CSS
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
0

inset css

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

.exampleText {
  writing-mode: sideways-rl;
  position: absolute;
  inset: 20px 40px 30px 10px;
  background-color: #c8c800;
}
Posted by: Guest on January-25-2021
0

css inset

/* this */
inset: 1px 2px 3px 4px;

/* is the same as this */
top: 1px;
right: 2px;
bottom: 3px;
left: 4px;
Posted by: Guest on July-06-2021

Browse Popular Code Answers by Language