Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 84 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ex.06 Book Front Cover Page Design
## Date:
## Date:10/10/25

## AIM:
To design a book front cover page using HTML and CSS.
Expand Down Expand Up @@ -32,8 +32,91 @@ Publish the website in the LocalHost.

## PROGRAM:

```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Book Cover</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Georgia', serif;
}

.book-cover {
width: 400px;
height: 600px;
background: palevioletred;
border: 2px solid #333;
padding: 40px 30px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
justify-content: space-between;
}

.title {
font-size: 28px;
font-weight: bold;
color: #2e2e2e;
text-align: center;
line-height: 1.3;
}

.subtitle {
font-size: 16px;
margin-top: 10px;
text-align: center;
font-style: italic;
}

.image {
flex: 1;
background: url('https://upload.wikimedia.org/wikipedia/commons/6/65/Simple_flowers_black_line_art.png') center/contain no-repeat;
margin: 30px 0;
}

.author {
font-size: 18px;
text-align: center;
color: #444;
margin-top: 20px;
}

.line {
height: 2px;
background: #333;
width: 50px;
margin: 10px auto;
}
</style>
</head>
<body>
<div class="book-cover">
<div>
<div class="title">The Psychology of Simplicity</div>
<div class="line"></div>
<div class="subtitle">Understanding the beauty of less</div>
</div>
<div class="image">
<img src="https://img.freepik.com/free-vector/flat-world-mental-health-day-background_23-2149634438.jpg?t=st=1744720480~exp=1744724080~hmac=f1760139b6a1644521a6843c7039f2b45bdc688d25f4f3a479e1d59dcfad5515&w=1380" length="10%" width="100%">
</div>
<div class="author">By Morgan Simplar</div>
</div>
</body>
</html>
```


## OUTPUT:
<img width="1920" height="1080" alt="Screenshot 2025-09-28 190551" src="https://github.com/user-attachments/assets/423ba7c5-d422-4952-8162-ab5543178b02" />


## RESULT:
Expand Down