Answers for "image to top of div css"

CSS
4

image on top of image css

.image1 {
  position: relative;
  top: 0;
  left: 0;
  border: 1px red solid;
}
.image2 {
  position: absolute;
  top: 30px;
  left: 30px;
  border: 1px green solid;
}
Posted by: Guest on September-14-2020
0

how fixed image at top

.cust_sticky {           /* div  */
    position: fixed;
}
Posted by: Guest on November-06-2020

Browse Popular Code Answers by Language