summaryrefslogblamecommitdiff
path: root/src/scss/flip-card.scss
blob: 1f9af5b044f3e29d0adef3bb658a9af0c73cec0a (plain) (tree)






























                                            
.flip-card {
	perspective: 1000px;
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.flip-card-front {
}

.flip-card-back {
	transform: rotateY(180deg);
}