CSS3 Book
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 - 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
**********************/
Developer | Fabio Mangolini |
Username | vikvarg |
Uploaded | August 15, 2022 |
Rating | 3 |
Size | 2,131 Kb |
Views | 28,336 |
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 |
CSS3 iPad | 1,766 Kb |
Slide In Panel | 2,811 Kb |
A Pen by Fabio Mangolini | 1,530 Kb |
CSS3 Mac Book Pro | 1,791 Kb |
45 Degree | 1,708 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 |
ABVI Menu Discarded | Overdrivemachines | 3,607 Kb |
APortfolio | Skybutterfly | 5,174 Kb |
Google Chrome Icon using Pure CSS in one DIV | Grssam | 3,627 Kb |
Css color for svg | Ademilter | 2,392 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Myprofile | SoufianeAbid | 2,451 Kb |
Carousel Test | Sbirchall | 1,509 Kb |
Responsive slide | Thorien | 2,400 Kb |
Toggle menu | Seyedi | 2,279 Kb |
Base-Style | Daniel_gooss | 2,614 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!