Business card
How do I make an business card?
One of my ideas for a business card that I may make into a real business card.. What is a business card? How do you make a business card? This script and codes were developed by Zach Saucier on 13 October 2022, Thursday.
Business card - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Business card</title> <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! */ @import "https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300";
* { box-sizing: border-box;
}
body { background: #757575; overflow-x: hidden;
}
.container { perspective: 800px; /* Styling */ color: #fff; font-family: 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: 4px; /* Center it */ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.card { /* Styling */ width: 700px; height: 400px; background: #141414; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); /* Card flipping effects */ transform-style: preserve-3d; transition: 0.6s;
}
.side { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; /* Fix Chrome rendering bug */ transform: rotate(0deg) translateZ(1px);
}
/* Flip the card on hover */
.container:hover .card,
.back { transform: rotateY(-180deg) translateZ(1px);
}
/* Front styling */
.front { /* Center the name + outline (almost) */ line-height: 390px; /* Height - some (because visual center is a little higher than actual center) */ text-align: center;
}
.logo { outline: 1px solid #19F6E8; display: inline-block; padding: 15px 40px; text-transform: uppercase; font-family: 'Roboto', sans-serif; font-size: 1.4em; font-weight: normal; line-height: 32px; letter-spacing: 8px;
}
/* Back styling */
.back { background: #15CCC0; padding: 30px;
}
.name { color: #3B3B3B; margin-bottom: 0;
}
p { margin: 0.8em 0;
}
.info { position: absolute; bottom: 30px; left: 30px; color: #3b3b3b;
}
.property { color: #fff;
}
/* Make semi-responsive */
@media (max-width: 700px) { .card { transform: scale(0.5); } .container:hover .card { transform: scale(0.5) rotateY(-180deg) translateZ(1px); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <!-- The front is based on of my SVG link hover effect https://codepen.io/Zeaklous/pen/kyGqm -->
<div class="container"> <div class="card"> <div class="front side"> <h1 class="logo">Zach Saucier</h1> </div> <div class="back side"> <h3 class="name">Zach Saucier</h3> <div>Front-end developer</div> <div class="info"> <p><span class="property">Email: </span>[email protected]</p> <p><span class="property">Twitter: </span>@ZachSaucier</p> <p><span class="property">Phone: </span>(123) 456-7890</p> <p><span class="property">Website: </span>zachsaucier.com</p> </div> </div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
Business card - Script Codes CSS Codes
@import "https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300";
* { box-sizing: border-box;
}
body { background: #757575; overflow-x: hidden;
}
.container { perspective: 800px; /* Styling */ color: #fff; font-family: 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: 4px; /* Center it */ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.card { /* Styling */ width: 700px; height: 400px; background: #141414; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); /* Card flipping effects */ transform-style: preserve-3d; transition: 0.6s;
}
.side { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; /* Fix Chrome rendering bug */ transform: rotate(0deg) translateZ(1px);
}
/* Flip the card on hover */
.container:hover .card,
.back { transform: rotateY(-180deg) translateZ(1px);
}
/* Front styling */
.front { /* Center the name + outline (almost) */ line-height: 390px; /* Height - some (because visual center is a little higher than actual center) */ text-align: center;
}
.logo { outline: 1px solid #19F6E8; display: inline-block; padding: 15px 40px; text-transform: uppercase; font-family: 'Roboto', sans-serif; font-size: 1.4em; font-weight: normal; line-height: 32px; letter-spacing: 8px;
}
/* Back styling */
.back { background: #15CCC0; padding: 30px;
}
.name { color: #3B3B3B; margin-bottom: 0;
}
p { margin: 0.8em 0;
}
.info { position: absolute; bottom: 30px; left: 30px; color: #3b3b3b;
}
.property { color: #fff;
}
/* Make semi-responsive */
@media (max-width: 700px) { .card { transform: scale(0.5); } .container:hover .card { transform: scale(0.5) rotateY(-180deg) translateZ(1px); }
}
Business card - Script Codes JS Codes
// For more check out zachsaucier.com
Developer | Zach Saucier |
Username | Zeaklous |
Uploaded | October 13, 2022 |
Rating | 4 |
Size | 4,454 Kb |
Views | 30,360 |
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 |
Change transformation-origin mid animation | 2,138 Kb |
Changing a CSS Animation at its Current Values | 3,781 Kb |
CSS Callback Functions Using Iteration | 2,720 Kb |
Asset loading effects demo | 4,936 Kb |
Converting CSS Animations to Transitions | 1,995 Kb |
Simple CSS Circular Motion Technique | 2,093 Kb |
Yin-Yang CSS Image Animation | 3,255 Kb |
Circular Questionnaire | 5,141 Kb |
SVG clip path with blend mode | 8,886 Kb |
Single Element gif Recreation | 4,044 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 |
Css or Czz.. | Judag | 4,111 Kb |
Countdown Timer | Massiebn | 3,001 Kb |
Pure CSS Dial | Lukewatts | 3,018 Kb |
Working around OS X Dynamic Scrollbars | Jrjenk | 2,279 Kb |
A Pen by Alexandru Pora | Axpro | 1,615 Kb |
Polygon Logo in CSS | Kai | 3,412 Kb |
Simple CSS loader. | Cabrera | 2,574 Kb |
Monochrome Form | AlienPiglet | 3,096 Kb |
Ghost | Mghayour | 11,738 Kb |
Yuliya v krylova | Rafszul | 37,351 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!