inset style css code example
Example 1: inset css
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
position: relative;
inset: 20px 50px 30px 10px;
background-color: #c8c800;
}
Example 2: 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;
}