-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add complete css to Music player and adding images and music
- Loading branch information
1 parent
1fdfbd9
commit e94d123
Showing
4 changed files
with
133 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'pappins', sans-serif; | ||
box-sizing: border-box; | ||
} | ||
|
||
.container { | ||
width: 100%; | ||
height: 100vh; | ||
background: #333; | ||
display: flex ; | ||
align-items: center; | ||
justify-content: center; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.music-player{ | ||
background: #ffe0e5; | ||
width: 400px; | ||
padding: 25px 35px; | ||
text-align: center; | ||
|
||
} | ||
|
||
nav{ | ||
display: flex; | ||
justify-content: space-between; | ||
margin-bottom: 30px; | ||
|
||
|
||
} | ||
|
||
nav .circle{ | ||
border-radius: 50%; | ||
width: 40px; | ||
height: 40px; | ||
line-height: 40px; | ||
background: #fff; | ||
color: #f53192; | ||
box-shadow: 0 5px 10px rgba(255, 26, 26, 0.22); | ||
} | ||
.song-img{ | ||
width: 220px; | ||
border-radius: 50%; | ||
border: 8px solid #fff; | ||
box-shadow: 0 10px 60px rgba(255, 26, 26, 0.22); | ||
|
||
} | ||
|
||
.music-player h1{ | ||
font-size: 20px; | ||
font-weight: 400; | ||
color: #333; | ||
margin-top: 20px; | ||
|
||
} | ||
|
||
.music-player p{ | ||
font-size: 14px; | ||
color: #333; | ||
} | ||
#progress{ | ||
-webkit-appearance: none; | ||
width: 100%; | ||
height: 6px; | ||
background: #f53192; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
margin: 40px 0; | ||
|
||
} | ||
#progress::-webkit-slider-thumb{ | ||
-webkit-appearance: none; | ||
background: #f53192; | ||
width: 30px; | ||
height: 30px; | ||
border-radius: 50%; | ||
border: 8px solid #fff; | ||
box-shadow: 0 5px 5px rgba(255, 26, 26, 0.22); | ||
|
||
} | ||
|
||
.control{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.control div{ | ||
width: 60px; | ||
height: 60px; | ||
margin: 20px; | ||
background: #fff; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
cursor: pointer; | ||
color: #f53192; | ||
border-radius: 50%; | ||
box-shadow: 0 10px 20px rgba(255, 26, 26, 0.22); | ||
} | ||
|
||
.control div:nth-child(2){ | ||
transform: scale(1.5); | ||
background: #f53192; | ||
color: #fff; | ||
} |