Skip to content
Open
Show file tree
Hide file tree
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
81 changes: 75 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,83 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<link rel="stylesheet" href="/lab-css-spotify-clone/styles/style.css">
<!-- don't forget to link your styles -->
</head>
<body>
Premium Discover Help Download Music for everyone. Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are. What’s on Spotify? Millions of Songs There are millions of songs on Spotify HD Music
Listen to music as if you were listening live Stream Everywhere Stream music on your smartphone, tablet or computer
It’s as yeezy as Kanye West. Search Know what you want to listen to? Just search and hit play. Browse Check out the
latest charts, brand new releases and great playlists for right now. Discover Enjoy new music every Monday with your
own personal playlist. Or sit back and enjoy Radio.
<div class="navbar">
<img src="/lab-css-spotify-clone//images/spotify-logo.png" alt="">
<div class="tab">
<h1>Premium</h1>
<h1>Discover</h1>
<h1>Help</h1>
<h1>Download</h1>
</div>
</div>

<div class="banner">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer.<br>
Listen to the right music, wherever you are.</p>
</div>

<div class="content">
<h1>What’s on Spotify?</h1>
<div class="cards">
<div class="card"><img src="/lab-css-spotify-clone/images/music-icon.png" alt="">
<h2>Millions of Songs</h2>
<p>There are millions of <br>
songs on Spotify
</p>
</div>
<div class="card"><img src="/lab-css-spotify-clone/images/high-quality-icon.png" alt="">
<h2>HD Music </h2>
<p>Listen to music as if you<br>
were listening live
</p>
</div>
<div class="card"><img src="/lab-css-spotify-clone/images/devices-icon.png" alt="">
<h2>Stream Everywhere</h2>
<p>Stream music on your<br>
smartphone, tablet or<br>
computer
</p>
</div>
</div>
</div>

<div class="footer">
<div class="feature">
<h1>It’s as yeezy as Kanye West.</h1>

<div class="desc">
<h2> Search</h2>
<p>Know what you want to listen to?<br>
Just search and hit play.</p>
</div>

<div class="desc">
<h2>Browse</h2>
<p>Check out the latest charts,<br>
brand new releases and great<br>
playlists for right now.</p>
</div>

<div class="desc">
<h2>Discover</h2>
<p>Enjoy new music every Monday<br>
with your own personal playlist.<br>
Or sit back and enjoy Radio.</p>
</div>
</div>

<img src="/lab-css-spotify-clone/images/spotify-icon-white.png" alt="">
<img src="/lab-css-spotify-clone/images/spotify-app.jpg" alt="">


</div>



</body>
</html>
150 changes: 150 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,153 @@
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}

.navbar{
display: flex;
justify-content: space-between;
align-items: center;
min-height: 13vh;
margin-inline :20px;
}

.navbar>.tab{
display: flex;
align-items: center;
}

.tab>h1{
font-weight: 90;
color: #1A1A1A;
margin-right: 0.7rem;
font-size: 1.3rem;
font-family: Arial, sans;
}

.navbar>img{
height: 60px;
}

.banner{
background: url(/lab-css-spotify-clone/images/landing.jpg);
height: 150vh;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
object-fit: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family:Arial, Helvetica, sans;
color: #fff;
}
.banner>h1:nth-child(1){
font-size: 15vh;
margin-bottom: 5vh;
}

.banner>p{
font-size: 5vh;
text-align: center;
font-stretch: condensed;
letter-spacing: 0.2vh;
}

.content{
display: flex;
flex-direction: column;
font-family:Arial, sans;
justify-content: center;
align-items: center;
margin-block:4vh ;
}
.content>h1{
font-weight: 700;
padding: 6px;
border-bottom:4px solid #00B172;
}

.content>.cards{
margin-top:5vh ;
display: flex;
justify-content: space-between;
width: 80%;
}

.card>img{
height: 13vh;
}
.card>h2{
color: #00B172;
margin-inline:2px ;
}
.card>p{
margin-top: 1.5rem;
font-size: 18px;
font-stretch: narrower;
word-spacing: 2px;
color: #868686;
}
.card{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}

.footer{
margin-inline :20px;
background-color: #00B172;
display: flex;
flex-direction: row;
justify-content: space-evenly;
height: 100vh;
align-items: center;
padding-inline: 70px;
margin-bottom: 30px;
color: white;
position: relative;
font-family: Arial, Helvetica, sans;
padding-bottom: 10vh;
}

.feature h1{
border-bottom: 4px solid white;
font-weight: 500;

}

.feature{
margin-top: 30px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}

.footer img:nth-child(2){
height: 20vh;
}

.footer img:nth-child(3){
margin-top: 50px;
height: 35vw;
}

.desc{
display: flex;
flex-direction: column;
gap: 20px;
}

.desc p{
letter-spacing: 1px;
line-height: 25px;
font-stretch: narrower;
}
/*
Colors:

Expand Down