Minimal business card
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 - 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;
}
Developer | Pankaj Parashar |
Username | pankajparashar |
Uploaded | August 12, 2022 |
Rating | 3.5 |
Size | 2,447 Kb |
Views | 42,504 |
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 |
Skillset using HTML5 progress bars with CSS3 animations | 5,923 Kb |
OSX-style Disk Usage | 3,849 Kb |
Reading Position Indicator | 5,454 Kb |
Arsenal vs Tottenham - Match Day 3 | 4,184 Kb |
Canvas Polar Clock | 2,882 Kb |
Pure CSS Calendar Icon | 2,221 Kb |
The Chili Recipe | 23,620 Kb |
Todo App using React.js | 2,487 Kb |
Pure CSS Tags | 2,089 Kb |
Webkit Scrollbars | 4,059 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 |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
Menubar compass mixin | Michaelparenteau | 4,925 Kb |
Scroll using CSS | Casperovic | 2,159 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
Slide out Menu | Rbiggs | 4,936 Kb |
Simple Login Form Template | Banunn | 3,571 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
Project MMetro beta | Atomicsong | 5,157 Kb |
Airbnb Homepage | SindhujaD | 2,480 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!