Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to rotate image in css

img{
transform: rotate(90deg);
}
Comment

set rotation of img in css

transform: rotate(180deg);
Comment

how to rotate image in css

div {
  position: absolute;
  left: 40px;
  top: 40px;
  width: 100px;
  height: 100px;
  background-color: lightgray;
}

.rotate {
  background-color: transparent;
  outline: 2px dashed;
  transform: rotate(45deg);
}

.rotate-translate {
  background-color: pink;
  transform: rotate(45deg) translateX(180px);
}

.translate-rotate {
  background-color: gold;
  transform: translateX(180px) rotate(45deg);
}
Comment

PREVIOUS NEXT
Code Example
Css :: make text bigger html5 
Css :: remove all css styles from element 
Css :: css space between td 
Css :: drop shadow css 
Css :: centrer un élément absolute 
Css :: absolute position div center 
Css :: export database spinup on terminal commands 
Css :: print media css 
Css :: repeat with auto-fit 
Css :: div nebeneinander 
Css :: nunito 
Css :: underlined style for a link 
Css :: css click through an element 
Css :: transition shorthand css 
Css :: How do center using margin 
Css :: grid repeating auto columns 
Css :: two background css 
Css :: css cursor finger 
Css :: css background full width 
Css :: ul text decoration css 
Css :: make blinking cursor disappear css 
Css :: cmd hash file 
Css :: center div inside div flex 
Css :: css style for the first element only 
Css :: div centre 
Css :: convert string to uppercase while typing 
Css :: hover effect button css 
Css :: texting getting out of box css 
Css :: change bot description background top.gg 
Css :: can we use material ui and tailwind css together 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =