From d441cc5f7b45c7171f2c4373f65cc911e8069f63 Mon Sep 17 00:00:00 2001 From: Zixuan Date: Sat, 7 Jun 2025 16:33:36 +0100 Subject: [PATCH] done --- index.html | 77 ++++++++++++++++++-- styles/style.css | 183 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 254 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 0697f92fe..af243574b 100644 --- a/index.html +++ b/index.html @@ -4,15 +4,80 @@ + 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?

+
+
+ music icon +

Millions of Songs

+

There are millions of songs on Spotify

+
+
+ hight-quality icon +

HD Music

+

Listen to music as if you were listening

+
+
+ music icon +

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. +

+
+
+ spotify app screenshot +
+ +
diff --git a/styles/style.css b/styles/style.css index 55efb32c6..49462acd4 100644 --- a/styles/style.css +++ b/styles/style.css @@ -6,3 +6,186 @@ Green: #00B172 White: #FFF */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html { + font-size: 10px; +} + +body { + color: #1a1a1a; +} + +ul { + list-style: none; +} + +a { + text-decoration: none; +} + +p { + font-size: 1.6rem; +} + +h2 { + font-size: 4rem; +} + +h3 { + font-size: 2.4rem; +} + +.wrapper { + width: 90%; + margin: 0 auto; +} +/* header */ +header { + width: 100%; + margin-bottom: 10rem; +} + +nav { + width: 100%; + height: 10rem; + display: flex; + align-items: center; + justify-content: space-between; + padding: 1rem 4rem; +} + +.logo { + width: 10%; +} + +.logo img { + width: 100%; + height: auto; +} + +.nav-right { + width: 35%; +} + +.navbar { + display: flex; + justify-content: space-between; + align-items: center; +} + +.navbar a { + color: #1a1a1a; + font-size: 1.6rem; +} + +.navbar a:hover { + color: #00b172; +} + +header .banner { + height: 128rem; + background: url(../images/landing.jpg) no-repeat; + background-size: cover; + color: #fff; + display: flex; + align-items: center; + justify-content: center; + text-align: center; +} + +h1 { + font-size: 6.4rem; + margin-bottom: 3rem; +} + +.banner p { + font-size: 2.2rem; + line-height: 1.8; +} + +/* intro section */ +.intro { + text-align: center; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin-bottom: 10rem; +} + +.intro h2 { + width: 38rem; + border-bottom: 4px solid #00b172; + margin-bottom: 6rem; +} + +.box { + display: flex; + align-items: center; + justify-content: center; + gap: 6rem; +} + +.box-content { + width: 30%; + height: 22rem; +} + +.box-content img { + height: 8.6rem; + margin-bottom: 2rem; +} + +.box-content h3 { + color: #00b172; + margin-bottom: 2rem; +} + +/* section content */ +.content { + background: #00b172; + color: #fff; + padding: 7rem; + display: flex; + align-items: center; + position: relative; +} + +.content-left { + width: 50%; +} + +.content-left h2 { + border-bottom: 3px solid #fff; + margin-bottom: 6rem; +} + +.content-left h3 { + margin: 5rem 0; +} + +.content-left p { + line-height: 1.6; + letter-spacing: 0.8px; +} + +.content-right { + display: flex; + justify-content: flex-end; +} +.content-right img { + width: 60%; +} + +.content > img { + width: 15rem; + height: 15rem; + position: absolute; + left: 40%; + top: 50%; +}