Skip to content

giniclare/cover

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ex.06 Book Front Cover Page Design

Date:07.10.2025

AIM:

To design a book front cover page using HTML and CSS.

DESIGN STEPS:

Step 1:

Create a Django Admin project.

Step 2:

Create an app in the Django interface.

Step 3:

Create a folder named 'static' in the app folder.

Step 4:

Create a new HTML file in the static folder.

Step 5:

Write the HTML code with relevant CSS properties.

Step 6:

Choose the appropriate style and color scheme.

Step 7:

Insert the images in their appropriate places.

Step 8:

Publish the website in the LocalHost.

PROGRAM:

<!DOCTYPE html>
<html>
<head>
    <title>Book Cover</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="cover">
        <div class="border">
            <h3 class="top">SEC Insights</h3>

            <h1>DATA FLOW AND<br>TRANSFORMATION</h1>

            <p class="sub">Illustrating how raw data is processed and<br> refined into usable intelligence<br>BEST SELLER</p>

            
                <div class="left">
                 <h4>SPECIAL EDITION</h4>
                    <div class="name">
                          <p>GINI CLARE G</p>
                    
                         <div class="right">
                            <img src= "clare.png"alt ="Author Photo">
                            <hr class="line">
                            <div class>
                                <p>SEC</p>
                            </div>

                          </div>
                    </div>
                </div>


body {
    background-color: #f2aeae;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.cover {
    width: 400px;
    height: 550px;
    background:url(background.png);
    background-size:cover;
    background-position:center; 
    position: relative;
    text-align: center;
    color: black;
    font-family: 'Times New Roman',sans-serif;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.border {
    border: 4px solid lightslategray;
    margin: 25px;
    height: 85%;
    padding: 15px;
    position:relative;
}

.top {
    position:relative;
    bottom:20px;
    right:120px;
    margin:0;
    padding:6px 8px 6px 0;
    display:inline-block;
    font-size: 16px;
    border-bottom: 1px solid black;
    color:solid red;
}

h1 {
    font-size: 24px;
    margin-top: 30px;
    font-weight: bold;
}

.sub {
    font-style:italic;
    font-size: 15px;
    margin-top: 20px;
}

.left h4 {
    position:relative;
    top:150px;
    right:70px;
    font-size:18px;
    font-style:unset;
    font-weight:bold;
    margin:0;
}

.left p {
    position:relative;
    top:220px;
    right:100px;
    font-size: 20px;
    margin-top:5px;
}

.right img {
    position:relative;
    top:5px;
    left:90px;
    width: 130px;
    height: 150px;
    border: 2px solid black;
}

.line {
    height:2px;
    width:100%;
    background-color:black;
}

.right p {
    font-style:initial;
    font-size:larger;
    top:8px;
    left:100px;
    margin-top: 5px;
    font-weight: bold;
}

OUTPUT:

alt text

RESULT:

The program for designing book front cover page using HTML and CSS is completed successfully.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.1%
  • CSS 18.3%
  • HTML 11.6%