Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Done text animation style and proper alignment of text ,image, background. #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
25 changes: 23 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<title></title>
<link href="style.css" rel="stylesheet">
<style>
h1{
width: 0ch;
overflow: hidden;
white-space:nowrap;
animation: text 6s steps(16) infinite alternate ;
border-right: 3px solid black;
}
@keyframes text{
0%{
width:0ch;
}
50%{
width: 16ch;
}


}
</style>

</head>

Expand Down Expand Up @@ -34,11 +53,13 @@
<main>
<section class="banner-image">
<div class="container">
<center>
<div class="banner-content">
<h1>We sell lifestyle</h1>
<p>Flat 40% OFF on all premium brands</p>
<a href="products.html" class="btn btn-danger btn-lg active">Shop Now</a>
</div>
</center>
</div>
</div>
</section>
<section>
Expand Down Expand Up @@ -86,4 +107,4 @@ <h2>Shirts</h2>
</footer>
</body>

</html>
</html>