Player Flip Cards
How do I make an player flip cards?
A simple css only flip cards.. What is a player flip cards? How do you make a player flip cards? This script and codes were developed by Nick Nikolov on 16 October 2022, Sunday.
Player Flip Cards - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Player Flip Cards</title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300'> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ html { background: #222;
}
.container { text-align: center;
}
.card { font-family: 'Roboto Condensed', Arial, sans-serif; -webkit-perspective: 1500; -webkit-transform-style: preserve-3d; position: relative; height: 300px; width: 200px; display: inline-block; margin: 0 10px;
}
.card .front,
.card .back { overflow: hidden; text-align: left; box-shadow: rgba(0, 0, 0, 0.7) 0 2px 6px -2px; background: #fff; border-radius: 10px; backface-visibility: hidden; background-color: #222; color: #fff; position: absolute; top: 0; left: 0; right: 0; bottom: 0; transition: all 0.3s ease-in-out;
}
.card .front { background-size: cover; background-repeat: no-repeat; background-position: center center; transform: rotateY(0); z-index: 2;
}
.card .front .title { text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px; position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; background-color: rgba(0, 0, 0, 0); background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.5))); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}
.card .front .title h2 { margin: 0; padding: 0; font-weight: 300; font-size: 32px;
}
.card .back { background: #333; transform: rotateY(-180deg); padding: 20px;
}
.card .back p { margin: 0 0 20px 0;
}
.card .back .btn { position: absolute; bottom: 20px; left: 20px; right: 20px;
}
.card .btn { padding: 10px; display: block; color: inherit; border: 1px solid #fff; text-decoration: none; border-radius: 6px; text-align: center;
}
.card .btn:hover { background-color: rgba(255, 255, 255, 0.1);
}
.card:hover .front { transform: rotateY(180deg);
}
.card:hover .back { transform: rotateY(0);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="container"> <div class="card"> <div class="front" style="background-image: url('http://kanal5.com.mk/uploads/mesi-39-.jpg')"> <div class="title"> <h2>Lionel<br/>Messi</h2> </div> </div> <div class="back"> <p>Lionel Andrés "Leo" Messi Cuccittini is an Argentine professional footballer who plays as a forward for Spanish club FC Barcelona.</p> <a class="btn" href="http://en.wikipedia.org/wiki/Lionel_Messi">View profile</a> </div> </div> <div class="card"> <div class="front" style="background-image: url('https://3.bp.blogspot.com/-Ojf1mVqggcQ/TsBYjmLiBWI/AAAAAAAAAhw/fDDzW_zst6w/s1600/Dimitar+Berbatov+Manchester+united+vs+sunderland+fc.jpg')"> <div class="title"> <h2>Dimitar<br/>Berbatov</h2> </div> </div> <div class="back"> <p>Dimitar Ivanov Berbatov; born 30 January 1981 is a Bulgarian professional footballer who plays as a striker for AS Monaco.</p> <a class="btn" href="http://en.wikipedia.org/wiki/Dimitar_Berbatov">View profile</a> </div> </div> <div class="card"> <div class="front" style="background-image:url('http://football-uniform.up.n.seesaa.net/football-uniform/image/Bulgaria-94-adidas-white-white-white.JPG?d=a0')"> <div class="title"> <h2>Hristo<br/>Stoichkov</h2> </div> </div> <div class="back"> <p>Hristo Stoichkov Stoichkov is a retired Bulgarian footballer who is currently a football pundit for Univision Deportes.</p> <a class="btn" href="http://en.wikipedia.org/wiki/Hristo_Stoichkov">View profile</a> </div> </div> </div>
</body>
</html>
Player Flip Cards - Script Codes CSS Codes
html { background: #222;
}
.container { text-align: center;
}
.card { font-family: 'Roboto Condensed', Arial, sans-serif; -webkit-perspective: 1500; -webkit-transform-style: preserve-3d; position: relative; height: 300px; width: 200px; display: inline-block; margin: 0 10px;
}
.card .front,
.card .back { overflow: hidden; text-align: left; box-shadow: rgba(0, 0, 0, 0.7) 0 2px 6px -2px; background: #fff; border-radius: 10px; backface-visibility: hidden; background-color: #222; color: #fff; position: absolute; top: 0; left: 0; right: 0; bottom: 0; transition: all 0.3s ease-in-out;
}
.card .front { background-size: cover; background-repeat: no-repeat; background-position: center center; transform: rotateY(0); z-index: 2;
}
.card .front .title { text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px; position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; background-color: rgba(0, 0, 0, 0); background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.5))); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}
.card .front .title h2 { margin: 0; padding: 0; font-weight: 300; font-size: 32px;
}
.card .back { background: #333; transform: rotateY(-180deg); padding: 20px;
}
.card .back p { margin: 0 0 20px 0;
}
.card .back .btn { position: absolute; bottom: 20px; left: 20px; right: 20px;
}
.card .btn { padding: 10px; display: block; color: inherit; border: 1px solid #fff; text-decoration: none; border-radius: 6px; text-align: center;
}
.card .btn:hover { background-color: rgba(255, 255, 255, 0.1);
}
.card:hover .front { transform: rotateY(180deg);
}
.card:hover .back { transform: rotateY(0);
}
Developer | Nick Nikolov |
Username | necks |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 4,314 Kb |
Views | 18,216 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Simple drawer menu | 5,625 Kb |
Simple grid layout | 1,978 Kb |
4 color border for highlighting feature elements | 4,105 Kb |
User Icons | 3,351 Kb |
SVG Clock | 2,163 Kb |
60fps animated SVG waves hero | 3,268 Kb |
Page header bar toggle on scroll | 4,141 Kb |
Subtle site navigation with description | 3,206 Kb |
A Pen by Nick Nikolov | 1,732 Kb |
Range bar with indicator | 3,312 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Hello People | Danburrows | 2,365 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Vue.js Lazy Loading | Kjbrum | 3,620 Kb |
A Pen by Alexandru Pora | Axpro | 1,615 Kb |
Commuter Line Tokyu 8500 | Pedox | 7,031 Kb |
Bootstrap Responsive Menu Drawer | JesseGlacken | 3,777 Kb |
Sketchy Box | Mnicpt | 3,033 Kb |
CSS Gem Badge | Orchard | 3,335 Kb |
A Pen by Alex Edwards | Exards | 8,218 Kb |
Toggle Time | Petebot | 5,345 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!