Рет қаралды 119,249
CSS position tutorial example explained
#CSS #position #tutorial
#box1{
border: 5px solid;
height: 300px;
width: 300px;
background-color:skyblue;
position: sticky;
top: 0px;
}
#box2{
border: 5px solid;
height: 100px;
width: 100px;
background-color:tomato;
position: absolute;
top: 100px;
left: 100px;
}