Minimal business card

Size
2,447 Kb
Views
42,504

How do I make an minimal business card?

CSS only version of Boris Smus's Minimal business card design.Link, http://smus.com/minimal-business-card-design/. What is a minimal business card? How do you make a minimal business card? This script and codes were developed by Pankaj Parashar on 12 August 2022, Friday.

Minimal business card Previews

Minimal business card - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Minimal business card</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <p class="credits">Inspiration - Credit to <a href="http://smus.com/minimal-business-card-design/">Boris Smus</a> for <strong>Minimal Business Card Design</strong>. (this is mine, CSS-only version)</p>
<h1> <span class="email" data-caption="email"> <span class="handle">email</span><!-- --><span class="at">@</span><!-- --><span class="www" data-caption="www"> <span class="name" data-caption="name"> <span>pankaj</span><!-- --><span>parashar</span><!-- --></span><!-- --><span class="domain">.com</span> </span> </span>
</h1> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Minimal business card - Script Codes CSS Codes

@import url(http://fonts.googleapis.com/css?family=Bevan|Josefin+Slab);
html, body { height: 100%; }
body {	width: 100%; /* needed for FF */	margin: 0;	display: -webkit-box;	display: -ms-flexbox;	display: flex;	-webkit-box-align: center; -ms-flex-align: center; align-items: center; background: #fff;
}
h1 { margin: auto; color: #333; font-family: Bevan, sans-serif; font-size: 2.5em; text-shadow: inset 1px 1px 1px 5px #fff; position: relative; z-index: 1000;
}
h1::after { content: 'twitter'; display: block; height: 2em; left: 45%; width: auto; position: absolute; font-size: 20px; font-family: Josefin Slab, sans-serif; color: #999; text-align: center; top: 150%; background-color: white; padding: 0 10px;
}
.email, .name { position: relative; width: 100%; height: 100%; border-top: 1px solid #ccc;
}
.email { padding-top: 2.5em;
}
.name { padding-top: 1em; border-bottom: 1px solid #ccc; padding-bottom: 1em; z-index: -1;
}
.email::before, .name::before { content: attr(data-caption); position: absolute; width: auto; top: -10px; line-height: .75; left: 45%; background-color: #fff; font-size: 20px; font-family: Josefin Slab, sans-serif; padding: 0 10px; color: #999;
}
.email::after, .name::after { content: ''; position: absolute; width: 100%; height: 20px; top: -10px; border-left: 1px solid #ccc; border-right: 1px solid #ccc; left: 0;
}
.www { position: relative; width: 100%; height: 100%; border-bottom: 1px solid #ccc; padding-bottom: 2.5em;
}
.www::before { content: attr(data-caption); position: absolute; width: auto; bottom: -10px; line-height: 1; left: 45%; background-color: #fff; font-size: 20px; font-family: Josefin Slab, sans-serif; padding: 0 10px; color: #999;
}
.www::after { content: ''; position: absolute; width: 100%; height: 20px; bottom: -10px; border-left: 1px solid #ccc; border-right: 1px solid #ccc; left: 0;
}
.at { position: relative; width: 100%; height: 100%; border-bottom: 1px solid #ccc; padding-bottom: 1em;
}
.handle, .domain { position: relative; padding-bottom: 1em;
}
.handle::after, .domain::after { position: absolute; content: ''; width: 100%; bottom: -10px; height: 20px; left: 0;
}
.handle::after { border-right: 1px solid #ccc;
}
.domain::after { border-left: 1px solid #ccc;
}
.credits { position: absolute; bottom: 0; text-align: center; width: 100%; font-family: Josefin Slab, sans-serif;
}
Minimal business card - Script Codes
Minimal business card - Script Codes
Home Page Home
Developer Pankaj Parashar
Username pankajparashar
Uploaded August 12, 2022
Rating 3.5
Size 2,447 Kb
Views 42,504
Do you need developer help for Minimal business card?

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!

Pankaj Parashar (pankajparashar) 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!