Skip to main content

How to Create a HTML5 CSS3 Single Page Business Card - Free Download

Build a beautiful, single page Business Card using HTML5 and CSS3


Free HTML5 CSS3 Single Page Business Card
DemoDownload


1. First, open your favourite text editor and create a new HTML5 file. I am using Aptana Studio 3 which has the option to create a new file based on a predefined template.


Aptana Studio 3 - HTML5 CSS3 Twitter Bootstrap3 Single Page Business Card

If you are using a text editor which does not have this function you can use the code below. You can download exact code I am using at the beginning of this tutorial, here.


2. Find an image you would like to use as a background for your Single Page Business Card. I will use one of the free images from Subtle Patterns:

Free HTML5 CSS3 Single Page Business Card - Background


3. Add the following CSS code before the closing tag of your <header> tag:

body {
background:#A6AB95;
background-image:url(bg.jpg);
background-repeat:repeat;
text-align: center;
display: block;
}


4. Your web-page should now look like this:

Free HTML5 CSS3 Single Page Business Card - Background


5. Add the following CSS code to create the Business Card box:

body {
background:#A6AB95;
background-image:url(bg.jpg);
background-repeat:repeat;
text-align: center;
display: block;
}
.bcard {
border: solid 1px rgba(255, 255, 255, 0.6);
background: rgba(255, 255, 255, 0.5);
margin-top: -110px;
position: absolute;
display: inline-block;
width: 400px;
height: 220px;
top: 50%;
margin-left: -200px;
-webkit-box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.4);
box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.4);
}

We have now centered the Business Card div and added a semi-transparent background and border:

Free HTML5 CSS3 Single Page Business Card

6. All that is left now is adding the Business Card details and a few decorative div tags at the top. You can download the final code at the beginning of this tutorial.

This is the result you should now have:


Comments

Popular posts from this blog

iPhone 5 Rumor Roundup

Release Date The latest rumors regarding the iPhone 5 indicate that the official release date will be officially announced during the next Apple event which is to be held on September 12th 2012. According to Verizon CFO, Fran Shammo, Apple (AAPL) will stick to last year's release date and launch the iPhone 5 in October 2012. Although during the 2012 WWDC we had the opportunity to get some more details about iOS 6, no hardware specifications were released. source - 9to5mac.com Larger Screen The iPhone 5 is rumoured to have a larger, 4 inch retina display. source - Apple.pro Nano SIM According to the Financial Times, mobile carriers in Europe are stocking up on Nano SIM cards. This might be related to the release of the next generation iPhone. Smaller Dock Connector Another wide spread rumour is that Apple will release the iPhone 5 with a smaller, 8 pin dock connector. This means that new cables will be available for  new Apple devices released in the future. Did you hear any new rum...

Single Page HTML5 CSS3 Business Card Template 2.0

After seeing a huge interest in the Single Page Business Card Tutorial  i decided to create a Single Page Business Card 2.0 Template. Besides listing your title and contact details the 2.0 template also has some nice CSS3 transition effects, is available in 4 colors and the best part: IT'S FREE FOR DOWNLOAD . Demo Download CSS3 Transition Effect On hover the Name/Title block and the Contact Details blocks slide out vertically showing a centered block containing name and position, social and contact icons. Red Template Demo Blue Template Demo Yellow Template Demo Green Template Demo

HTML Codes for Romanian Characters

Character Simple Code Numerical Code Hex Code Ă &#258; &#x102; ă &#259; &#x103; Â &Acirc; &#194; &#xC2; â &acirc; &#226; &#xE2; Î &Icirc; &#206; &#xCE; î &icirc; &#238; &#xEE; Ș &#x218; &#xDA; ș &#x219; &#xDB; Ş &#350; &#x15E; ş &#351; &#x15F; Ţ &#354; &#x162; ţ &#355; &#x163;