Inset Css W3 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;
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable