Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css rotate 3d

transform: rotate3d(1, 1, 1, 45deg);
Comment

rotate in 3d css

body{
perspective:500px;/*every time we use transform in 3d we need persective
  perspective is distance between viewer and scene.i.e 500px */
}

img:hover{
transform:rotateZ(120deg); /*rotateZ is same as rotateX which is rotate 120deg Clockwise */
transform:rotateX(60deg);/* rotateX rotate x axis which is horizontal.so rotate 
horizontal axios */
transform:rotateX(90deg);/*rotate 90deg horizontal so we cannot see image as it has zero thickness */
transform:rotateY(60deg);/*rotate y axis which is vertical */
}
Comment

PREVIOUS NEXT
Code Example
Css :: change svg color css 
Css :: center flex 
Css :: autocomplete widget not working in modal popup 
Css :: iconscout css 
Css :: beautiful navigation bar css 
Css :: grid template rows 
Css :: &:disabled not working sass 
Css :: css text rotate 
Css :: tailwind css responsive table 
Css :: sass import variable from another file 
Css :: background shorthand 
Css :: absolute center css 
Css :: put a border only on bottom 
Css :: css curved border 
Css :: reset div css 
Css :: watch scss 
Css :: how to select child when hover on parent element css 
Css :: css image hover 
Css :: css mauszeiger ändern 
Css :: css font variant small caps 
Css :: css break after 2 words 
Css :: width 
Css :: css margin top responsive 
Css :: font shorthand css 
Css :: block elements css 
Css :: alert without page refresh 
Css :: media breakpoints 
Css :: wave css 
Css :: how to put different p elements next to each 
Css :: text-transform:capitalize; not workig 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =