Search
 
SCRIPT & CODE EXAMPLE
 

CSS

flip image css

.image{
  transform: rotateY(180deg);
}
Comment

flip image css

img{
  transform: rotateY(180deg);
}
Comment

CSS Flip Animation

/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
}
	/* flip the pane when hovered */
	.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 320px;
	height: 480px;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
}
Comment

card flip css

.flipping-card-item-side-back{
    color: #000;
    transform: rotateY(180deg);
}


.flipping-card-item-wrapper:hover .flipping-card-item-side-front{
    transform: rotateY(-180deg);
}

.flipping-card-item-wrapper:hover .flipping-card-item-side-back{
    transform: rotateY(0);
}

.flipping-card-item-img{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-blend-mode: color;
}

.flipping-card-back-wrapper{
    font-weight: 200;
    position: relative;
    top: 25%;
    left: 0;
    margin: 2rem;
    text-align: center;
}

.flipping-card-back-wrapper__btn {
    margin-top: 2rem;
    padding: .7rem;
    text-align: center;
    color: #ffffff;
    border: 0;
    background-image: linear-gradient(to right bottom, #ffa41b, #ff5151);
    transition: all .5s;
}

.flipping-card-back-wrapper__btn:hover {
    background-image: none;
    color: #ffa41b;
    border: 1px solid #ffa41b;
}
Comment

flip something css

<div class="flip">
  <div class="flip-content">
    <div class="flip-front">
      <img src="https://www.fillmurray.com/150/150" />
    </div>
    <div class="flip-back">
      <strong>BILL MURRAY</strong>
    </div>
  </div>
</div>

.flip {
    width: 100%;
    }
    .flip-content {
    transition: transform 0.4s;
    transform-style: preserve-3d;
    }
    .flip:hover .flip-content {
    transform: rotateY(180deg);
    transition: transform 0.3s;
    }
    .flip-front, .flip-back {
    backface-visibility: hidden;  
    }
    .flip-back {
    transform: rotateY(180deg);
    }
Comment

PREVIOUS NEXT
Code Example
Css :: keyframe in css 
Css :: css triangle 
Css :: center div with flexbox 
Css :: tailwind css installation 
Css :: changing bakcgound color like animation using tailwind 
Css :: how to make a responsive box in css 
Css :: put a border only on bottom 
Css :: css all uppercase to capitalize 
Css :: css remove highlight on input text 
Css :: css grid span all columns 
Css :: @fontface otf 
Css :: linear gradient tailwind css 
Css :: css change all text 
Css :: css shrink image 
Css :: css cut lines 
Css :: css floating div 
Css :: css change image width 
Css :: css set div width to screen 
Css :: on hover disabled cursor 
Css :: button transparent using css 
Css :: css h sizes 
Css :: corona.html:61 Uncaught ReferenceError: $ is not defined 
Css :: line height tailwind 
Css :: jest afterAll 
Css :: nuxt page transition 
Css :: materialize css 
Css :: round the value of 2 decimals in java 
Css :: in a form how to remove the input outerline color or shadow 
Css :: css hover rounded corners 
Css :: css change class name start with 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =