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 :: icon rounded corners css 
Css :: css supports 
Css :: css user-select 
Css :: bootstrap card hover effect 
Css :: css hover darken color 
Css :: plasma state of matter 
Css :: special custom scrollbar in scss 
Css :: radial gradient css 
Css :: css light grey 
Css :: add shadow to background image css 
Css :: Resetting Default Table Styles 
Css :: purgecss cli 
Css :: css auto heigh div 
Css :: center div vertically and horizontally 
Css :: carbon today date with 12 00 am 
Css :: @supports css 
Css :: background image 
Css :: rounded corners css button 
Css :: resize in css 
Css :: import tailwind 
Css :: grid template rows 
Css :: make input invisible but clickable css 
Css :: css triangle 
Css :: how to give opacity to border 
Css :: blur background css 
Css :: onclick after color change in css 
Css :: html input type colour internal border 
Css :: css background pattern 
Css :: css font-variant 
Css :: text-transform 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =