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

add styles to spotify #3374

Open
wants to merge 1 commit 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
81 changes: 75 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,82 @@
<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>
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.
<nav>
<div class="navlogo">
<img src="./images/spotify-logo.png" alt="spotify logo">
</div>
<div class="navList">
<a href="#">Premium</a>
<a href="#">Discover</a>
<a href="#">Help</a>
<a href="#">Download</a>
</div>
</nav>

<header>
<div class="headingContent">
<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>
</header>

<main>
<section id="spotifyHeading">
<h2>What’s on Spotify?</h2>
<section id="spotifyList">
<div class="spotifySection">
<img src="./images/music-icon.png" alt="Millions of Songs">
<h3>Millions of Songs</h3>
<p>There are millions of songs on spotify</p>
</div>

<div class="spotifySection">
<img src="./images/high-quality-icon.png" alt="HD Music">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>

<div class="spotifySection">
<img src="./images/devices-icon.png" alt="Stream Everywhere">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</section>

</section>


<section id="spotifySinger">
<div class="leftSinger">
<h3>It's as yeezy as Kanye West.</h3>
<div class="spotifyFunction">
<div class="leftSection">
<div class="eachSection">
<h4>Search</h4>
<p>Know what you want to listen to? Just search and hit play</p>
</div>
<div class="eachSection">
<h4>Browse</h4>
<p>Check out the latest charts, brand new realeases and great playlists for right now.</p>
</div>
<div class="eachSection">
<h4>Discover</h4>
<p>Enjoy new music every Monday with your own personal playlist or sit back and enjoy Radio.</p>
</div>
</div>
<div class="middleSection">
<img src="./images/spotify-icon-white.png" alt="Spotify Icon">
</div>
</div>

</div>
<div class="rightSinger">
<img src="./images/spotify-app.jpg" alt="Spotify app">
</div>
</section>
</main>
</body>
</html>
144 changes: 144 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,147 @@ Green: #00B172
White: #FFF

*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

*{
margin: 0;
padding: 0;
font-family: "Montserrat", sans-serif;
}

html{
scroll-behavior: smooth;
}
/* styling Navbar */
.navlogo img{
width: 50%;

}

nav{
display: flex;
justify-content: space-between;
padding: 20px;
}

.navlogo{
width: 20%;
}


.navList a{
text-decoration: none;
color: #1a1a1a;
padding: 5px;
}

/* styling header with background Image */

header{
background: url("./../images/landing.jpg");
background-size: cover;
background-position: center;
height: 400px;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

.headingContent h1{
padding-bottom: 20px;
}

#spotifyHeading{
width: 90%;
margin-left: auto;
margin-right: auto;
margin-bottom: 80px;
}
h2{
text-align: center;
margin-top: 20px;

}

#spotifyList{
display: flex;
justify-content: space-around;
text-align: center;
margin: 40px 20px;
gap: 10px;
}

.spotifySection{
width: 150px;
height: 150px;
}
.spotifySection img{
width: 80px;
}

.spotifySection h3{
color: #00B172;
margin: 10px 0;
}

#spotifySinger{
display: flex;
width: 90%;
margin: 0 auto;
background-color: #00B172;
padding-top: 50px;


}
.leftSinger{
padding-left: 30px;
color: #fff;
}

.leftSinger h3{
border-bottom: 3px solid #fff;
padding: 0;
width: max-content;
padding-bottom: 5px;
margin-bottom: 25px;
}

.spotifyFunction{
display: flex;
width: 100%;
position: relative;
}

.leftSection{
width: 50%;
}

.middleSection img{
width: 40%;
z-index: 1;
position: absolute;
top: 40%;
left: 60%;

}


.rightSinger{
padding-left: 120px;
padding-top: 20px;
}

.rightSinger img{
width: 60%;
}

.eachSection h4{
margin-top: 20px;
margin-bottom: 20px;
}

.eachSection p{
font-size: 14px;
}