From d38737a8af5c1433d9ab08f8b9f672add4bbf9ec Mon Sep 17 00:00:00 2001 From: Poorna Chandra2000 Date: Thu, 19 Sep 2024 22:09:30 +0530 Subject: [PATCH] Spotify Clone --- index.html | 81 +++++++++++++++++++++++-- styles/style.css | 150 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 225 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 0697f92..29abb1a 100644 --- a/index.html +++ b/index.html @@ -5,14 +5,83 @@ Spotify Clone + - 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. + + + + +
+

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 +

+
+
+
+ + + + + diff --git a/styles/style.css b/styles/style.css index 55efb32..49a1b4f 100644 --- a/styles/style.css +++ b/styles/style.css @@ -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: