Info Cards

Developer
Size
3,926 Kb
Views
26,312

How do I make an info cards?

Just a simple Information Card layout using HTML and CSS. Trying out some colors as well as transition effects.. What is a info cards? How do you make a info cards? This script and codes were developed by Saysora on 26 August 2022, Friday.

Info Cards Previews

Info Cards - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Info Cards</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--Information Card -->
<div id="cardCall"> <h1>Card Holder</h1>
</div> <div id="cardHolder"> <div class="cardItem" style="background: #fff url(http://www.kh2.co.uk/assets/kh/artwork/003.jpg) -230px -500px;"> <div class="theName"> <h2>Sora</h2> <div class="info"> <div class="bioPic"> <img src="http://www.kh2.co.uk/assets/kh/artwork/012.gif" /> </div> <div class="bioInfo"> <p>The main protagonist in the Kingdom Hearts series, as well as a Keyblade wielder. He is an upbeat teenager who may seem simple-minded at times, but is very aware of the importance of his quest.</p> </div> </div> </div> </div> <div class="cardItem" style="background: #fff url(http://www.kh2.co.uk/assets/kh/artwork/003.jpg) -350px -50px;"> <div class="theName"> <h2>Riku</h2> <div class="info"> <div class="bioPic"> <img src="http://www.kh2.co.uk/assets/kh/artwork/014.gif" /> </div> <div class="bioInfo"> <p>The deuteragonist of the Kingdom Hearts series. He is a Keyblade wielder that has the power of Darkness, and is always ready to sacrifice himself to protect his friends.</p> </div> </div> </div> </div> <div class="cardItem" style="background: #fff url(http://www.kh2.co.uk/assets/kh/artwork/003.jpg) -310px -500px;"> <div class="theName"> <h2>Kairi</h2> <div class="info"> <div class="bioPic"> <img src="http://www.kh2.co.uk/assets/kh/artwork/013.gif" /> </div> <div class="bioInfo"> <p>One of the main characters in the series. She is the original persona of Naminé. Kairi was born in Radiant Garden and currently lives on Destiny Islands along with her two best friends, Sora and Riku.</p> </div> </div> </div> </div> </div>
<div id="copyright"> <small>All pictures and images used are property of Square Enix, and not my own. Merely used for examples sake (and I'm a huge Kingdom Hearts fan).</small>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Info Cards - Script Codes CSS Codes

*, body { margin: 0; padding: 0;
}
html { background: url(http://www.kh2.co.uk/assets/kh/artwork/002.jpg) no-repeat center top fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;
}
body { font-family: "Helvetica"; color: #fff;
}
#cardCall { width: 1080px; margin: 425px auto 10px; text-align: center; text-shadow: 1px 1px 1px #000; font-size: 24px;
}
#cardHolder { width: 1080px; max-width: 100%; min-height: 255px; background: rgba(0, 0, 0, 0.5); margin: 10px auto; padding: 0 10px; /*box-shadow: 0 0 10px 0 #000;*/ opacity: 0;
}
.cardItem { width: 355px; max-width: 100%; min-height: 230px; background: #fff; margin: 10px 0; float: left;
}
.cardItem:last-child { margin-right: 0;
}
.cardItem:hover .theName { height: 230px; max-height: 230px; background: rgba(31, 34, 69, 0.75);
}
.cardItem:nth-child(2) { margin: 10px 7px;
}
.cardItem .info { border-top: 1px solid #fff; overflow: hidden; padding: 5px;
}
.cardItem .bioPic { float: left; height: 112px; width: 110px; overflow: hidden;
}
.cardItem .bioPic img { display: block; padding: 45px 0; border-bottom: 1px solid #000;
}
.cardItem .bioInfo { float: right; width: 220px; display: block; text-align: justify; text-shadow: 1px 1px 1px #000;
}
.cardItem .bioInfo p:first-letter { font-size: 22px; padding: 1px;
}
.theName { min-height: 35px; max-height: 45px; background: #161616; overflow: hidden; /*Animations */ -webkit-transition: 0.5s max-height ease, 0.2s background linear 0.7s; -moz-transition: 0.5s max-height ease, 0.2s background linear 0.7s; -o-transition: 0.5s max-height ease, 0.2s background linear 0.7s; transition: 0.5s max-height ease, 0.2s background linear 0.7s;
}
.theName h2 { padding: 10px; font-size: 22px;
}
.theName p { padding: 5px 10px;
}
#copyright { width: 1080px; margin: 10px auto; text-align: center; text-shadow: 1px 1px 1px #000; background: rgba(0, 0, 0, 0.8); padding: 10px;
}
.bigcard { width: 500px; height: 500px; max-height: 500px; position: absolute; left: 30%;
}

Info Cards - Script Codes JS Codes

$(document).ready(function() { $('#cardHolder').fadeTo(3000,1);
});
Info Cards - Script Codes
Info Cards - Script Codes
Home Page Home
Developer Saysora
Username azureknight
Uploaded August 26, 2022
Rating 3
Size 3,926 Kb
Views 26,312
Do you need developer help for Info Cards?

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!

Saysora (azureknight) Script Codes
Create amazing Facebook ads with AI!

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!