CSS3 Book

Size
2,131 Kb
Views
28,336

How do I make an css3 book?

This is a simple example of a book cover made only with html and css3. What is a css3 book? How do you make a css3 book? This script and codes were developed by Fabio Mangolini on 15 August 2022, Monday.

CSS3 Book Previews

CSS3 Book - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS3 Book</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="wrapper">
<!-- BOOK -->	<div class="book">	<div class="book-cover">	<h1 class="title">This is the Book Title</h1>	<h2 class="subtitle">this is the Book Subitle</h2>	<h5 class="author"><span>written by</span> responsivewebmobile.com</h5>	</div>	<div class="book-top"></div>	<div class="book-right"></div>	</div>	<!-- /BOOK -->
</div>
</body>
</html>

CSS3 Book - Script Codes CSS Codes

body { background-color: #333;
}
#wrapper { width: 200px; margin: 30px auto;
}
/********************* BOOK
**********************/
.book { position: relative; width: 200px; height: 300px;
}
.book-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; text-align: center; box-shadow: 0px 2px 4px #999; border-bottom-right-radius: 2px; background-color: #c4ca2c; font-family: Helvetica, Arial, sans-serif; z-index: 1;
}
.book-cover:before { border-left: 10px solid #000000; content: ""; height: 300px; left: 0; opacity: 0.2; position: absolute; top: 0;
}
.book-cover h1,
.book-cover h2 { margin: 0; padding: 0; font-weight: 300; line-height: 30px;
}
.book-cover h1.title { font-size: 1em; text-shadow: 2px 1px 1px #EEEEEE; position: absolute; top: 25px; left: 25px; color: #666666;
}
.book-cover h2.subtitle { font-size: .7em; text-shadow: 2px 1px 1px #EEEEEE; position: absolute; top: 55px; left: 40px;
}
.book-cover h5.author { bottom: 5px; font-size: 0.6em; font-weight: normal; margin: 0; padding: 0; position: absolute; right: 12px;
}
.book-cover h5.author span { color: #eee;
}
.book-top { background-color: #EEEEEE; border-left: 5px solid #C4CA2C; border-top: 2px solid #C4CA2C; box-shadow: 1px 0px 2px #999; height: 8px; left: 5px; position: absolute; top: -10px; width: 195px; transform: skew(-45deg, 0deg); -ms-transform: skew(-45deg, 0deg); -webkit-transform: skew(-45deg, 0deg);
}
.book-right { background-color: #EEEEEE; border-bottom: 1px solid #DDDDDD; border-right: 2px solid #C4CA2C; box-shadow: 1px 0px 1px #999; height: 296px; position: absolute; right: -10px; top: -4px; width: 11px; transform: skew(0deg, -45deg); -ms-transform: skew(0deg, -45deg); -webkit-transform: skew(0deg, -45deg);
}
/********************* /BOOK
**********************/
CSS3 Book - Script Codes
CSS3 Book - Script Codes
Home Page Home
Developer Fabio Mangolini
Username vikvarg
Uploaded August 15, 2022
Rating 3
Size 2,131 Kb
Views 28,336
Do you need developer help for CSS3 Book?

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!

Fabio Mangolini (vikvarg) Script Codes
Create amazing art & images 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!