Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to rotate image in css

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

rotate image in css

div.a {
  transform: rotate(20deg);
}
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

rotate image in css 180

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

PREVIOUS NEXT
Code Example
Css :: progress bar color change css 
Css :: move up on hover css 
Css :: video camera icon font awesome 
Css :: id starts with css 
Css :: sass darken 
Css :: what does clearfix for floats do in css 
Css :: import font css 
Css :: input type date all css style 
Css :: avoid side scrolling css 
Css :: how to remove text highlight on double click 
Css :: change element in iframe 
Css :: css margin top 
Css :: row reverse grid 
Css :: how to set image size without changing aspect ratio in css 
Css :: hover border bottom css fixed 
Css :: change font size according to screen css 
Css :: css box shadow from all sides 
Css :: plasma state of matter 
Css :: scss variable to css variable 
Css :: add image to div in css 
Css :: Make the cursor appear as a crosshair on all links of the web page: 
Css :: border buttom color 
Css :: how to use font awesome with tailwind css 
Css :: color code css 
Css :: media screen hp 
Css :: padding in one line 
Css :: how to change svg image color on hover using css 
Css :: make input invisible but clickable css 
Css :: pseudo class vs pseudo element 
Css :: keyframe 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =