Day 17: Graphics (images/color): CSS: Basic Position 1, 2, 3.

 .square{

height: 50px;

width: 50px;

background-color: red;

border: solid;

}

#first{

background-color: blue;

position: relative;

top : 50px;

}

  • static (defult value)
  • relative (some changes to change)
  • absulote (opposite)
  • fixed (fix with same position)
  • sticky (overlap position)

Comments

Popular posts from this blog

else-if condition in if-else statements: Concatenation in JavaScript :

Day 9: CSS - Font Formate

Day 28: CSS Animation, CSS Transition Animation Box size