HTML
<!DOCTYPE html>
<html> <!-- opening tag -->
<!--</html> closing tag -->
<head>
<title>"Anku-Fans"</title>
<!-- <style> to apply css -->
<style>
body {
text-align: center; /* Centers text and inline elements */
}
.pf{
width: 100px;
border-radius: 50px;
margin-right:55%;
transform: translateY(-40%);
margin-bottom: 1px;
margin-block-end: 1px;
}
.bann{
width: 1000px; /* Set the desired width */
height: 396px; /* Set the desired height */
object-fit: cover; /* Ensures the image is cropped to fit the dimensions */
border-radius: 10px;
}
.suscc{
border-radius: 40px;
height: 40px; /* Set the desired height */
width: 800px; /* Set the width of the box */
margin: 0 auto; /* Center the box horizontally */
border-radius: 10px; /* Optional: round the corners */
margin-bottom: 30px;
background-color: rgb(3,174,240);
display: flex;
align-items: center;
justify-content: center;justify-content: center;
}
.Id{
font-weight: bold;
transform: translateY(-100%);
margin-top: 1px;
margin-bottom: 1px;
border-radius:1px;
margin-block-end: 1px;
}
.des{
margin-top: 1px;
transform: translateY(-100%)
}
em{
color: red;
}
p{
margin-right:55%;
}
h1{
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-weight: lighter;
}
.box {
width: 1000px; /* Set the width of the box */
height: auto; /* Set the height of the box */
margin: 0 auto; /* Center the box horizontally */
border: 2px solid lightgray; /* Add a border */
border-radius: 10px; /* Optional: round the corners */
}
.box-text {
margin-top: 10px; /* Add space between the box and the text */
margin-bottom: 50px;
margin-left: 10px;
text-align: left; /* Center the text */
font-weight:bold;
}
.suscc-text{
text-align: center;
margin-inline-end: 16px;
}
</style>
</head>
<body>
<h1>
Only-<span style="color:rgb(15, 204, 242);">Fans</span>
</h1>
<img class="bann"src ="https://variety.com/wp-content/uploads/2021/08/OnlyFans.png?w=1000&h=563&crop=1">
<img class="pf" src="images/image.png" alt="anku-nud not avilable "> <!-- culd use ../ to go back a dir. starting from / will start from root of dir -->
<p class ="Id">@Anku Babe ★</p>
<p class ="des" >Passionated to spread <em>LOVE</em> and <i>legs </i> </p> <!-- <p> hello<em>how </em> r U? </p> ,
we use <em> tag to empasise cetain wod in ,could use css to em<p> , <i>,<b> for italic and bold ,<strong>for seious urgent importance-->
<a class="des" href="https://www.instagram.com/ankiitsharma9735/"> Follow me on instagram ⊞ </a>
<div class="box">
<p class="box-text"><b>SUSCRIBE for sus</b> only <strong>-10$</strong></p>
<div class="suscc">
<p class="suscc-text"> SUSCRIBE -10$ </p>
</div>
</div>
<style>
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
gap: 10px; /* Space between grid items */
width: 55%; /* Adjust the grid width */
margin: 20px auto; /* Center the grid horizontally */
}
.grid-item {
width: 100%; /* Make each grid item a square */
padding-top: 100%; /* Maintain aspect ratio for a square */
position: relative; /* For positioning the image inside */
background-color: #f0f0f0; /* Optional: Background color for empty cells */
border: 2px solid lightgray; /* Optional: Border for grid items */
border-radius: 10px; /* Optional: Rounded corners */
}
.grid-item img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover; /* Ensure the image covers the square */
border-radius: 10px; /* Match the border-radius of the grid item */
}
</style>
<div class="grid-container">
<div class="grid-item">
<img src="images/bang.png" alt="Image 1">
</div>
<div class="grid-item">
Sexy anku 1
</div>
<div class="grid-item">
Sexy anku 2
</div>
<div class="grid-item">
Sexy anku 3
</div>
<div class="grid-item">
Sexy anku 4
</div>
<div class="grid-item">
Sexy anku 5
</div>
<div class="grid-item">
Sexy anku 6
</div>
<div class="grid-item">
Sexy anku 7
</div>
<div class="grid-item">
Sexy anku 8
</div>
</div>
</body>
</html> <!-- closing tag -->
Tags: #web-dev