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

css updated&html section added #3486

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
126 changes: 110 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,112 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<!-- 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.
</body>
</html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="./styles/style.css">
</head>

<body>
<div class="navbar">
<a href="/home">
<img src="./images/spotify-logo.png" alt="logo" />
</a>
<nav>

<a href="/home">Premium</a>
<a href="/home">Discover</a>
<a href="/home">Help</a>
<a href="/home">Download</a>


</nav>
</div>

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


</section>
<section class="feature">
<h2>What’s on Spotify? </h2>
<div class="feature-card">

<div class="card">
<img src="./images/music-icon.png" alt="">
<p>Millions of Songs</p>
<span>There are millions of songs on Spotify</span>
</div>
<div class="card">
<img src="./images/high-quality-icon.png" alt="">
<p>HD Music</p>
<span> Listen to music as if you were listening live</span>
</div>
<div class="card">
<img src="./images/devices-icon.png" alt="">
<p>Stream Everywhere </p>
<span> Stream music on your smartphone, tablet or computer</span>
</div>
</div>
</section>
<section class="music-feature">

<div class="spotify-card">
<h3> It’s as yeezy as Kanye West.</h3>
<div class="spotify-card-app">

<div class="app-card">
<div class="card">
<p>Search</p>
<span>
Know what you want to listen to?
Just search and hit play.</span>

</div>

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


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


</div>
</div>
<img src="./images/spotify-icon-white.png" alt="" />
</div>
</div>
<div class="spotify-app">
<img src="./images/spotify-app.jpg" alt="">
</div>
</section>










</body>

</html>
139 changes: 139 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,142 @@ Green: #00B172
White: #FFF

*/
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
margin: 0;
padding: 0;
font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
}
body {
font-size: 18px;
color: #1a1a1a;
}
/* ************* */
/* Class Selectors */
/* ************ */
.navbar {
display: flex;
justify-content: space-between;
margin: 0 2rem;
height: 70px;
justify-items: center;
align-items: center;
position: fixed;
width: 100%;
}
.header-main {
background-image: url('../images/landing.jpg');
height: 800px;
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-items: center;
justify-content: center;
align-items: center;
color: #ffff;
}
.feature {
margin: 2rem auto;
}
.feature-card {
display: flex;
justify-content: space-around;
}
.card {
text-align: center;
max-width: 200px;
}
.music-feature {
background-color: #00b172;
display: flex;
justify-content: space-between;
padding: 40px;
}
.spotify-card {
width: 60%;
color: #fff;
text-align: left;
}

.spotify-app {
width: 40%;
}
.app-card {
display: flex;
flex-direction: column;
}
.spotify-card-app {
display: flex;
justify-content: space-between;
}
/* *********Descendant*********** */
.navbar img {
width: 180px;
}
nav a {
text-decoration: none;
color: #1a1a1a;
margin: 0 5px;
}
.header-main div {
text-align: center;
}
.header-main h1 {
font-size: 40px;
}
.feature h2 {
text-align: center;
border-bottom: 3px solid #00b172;
width: 250px;
margin: auto;
margin-bottom: 1rem;
}
.card img {
width: 90px;
}
.feature-card .card p {
color: #00b172;
font-size: 25px;
font-weight: 600;
}
.card span {
font-weight: 100;
}
.spotify-card h3 {
border-bottom: 3px solid #fff;
width: 350px;
font-size: 25px;
margin-bottom: 1rem;
}
.spotify-app img {
max-width: 400px;
height: 500px;
}

.spotify-card-app img {
width: 130px;
height: 130px;
margin: auto 0;
margin-right: 90px;
}
.app-card .card {
text-align: left;
min-width: 250px;
}
.app-card .card p {
font-size: 25px;
margin: 20px 0;
font-weight: 600;
}
.app-card .card {
font-weight: 100;
line-height: 1.5;
}