-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from thuongtruong1009/slider-custom
feat: style slider custom
- Loading branch information
Showing
7 changed files
with
266 additions
and
23 deletions.
There are no files selected for viewing
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,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
[![Dev.to](https://img.shields.io/twitter/url?color=green&label=Dev.to&logo=dev.to&logoColor=yellow&style=for-the-badge&url=https%3A%2F%2Fdev.to%2Fthuongtruong1009)](https://dev.to/thuongtruong1009) | ||
[![Github](https://img.shields.io/twitter/url?color=green&label=Github&logo=github&logoColor=white&style=for-the-badge&url=https%3A%2F%2Fdev.to%2Fthuongtruong1009)](https://github.com/thuongtruong1009) | ||
[![Email](https://img.shields.io/twitter/url?color=green&label=Email&logo=gmail&logoColor=red&style=for-the-badge&url=https%3A%2F%2Fdev.to%2Fthuongtruong1009)](mailto:[email protected]) | ||
|
||
<h1 align="center">bee music 🎵</h1> | ||
|
||
![demo](/public/demo_main.jpg) | ||
## Demo | ||
[Preview at here](https://bee-music.netlify.app/) | ||
|
||
![image demo](/public/demo_main.jpg) | ||
|
||
This template should help get you started developing with Vue 3 in Vite. | ||
|
||
|
@@ -56,7 +63,36 @@ npm run lint | |
## Plugin | ||
+ [Pinia for vue](https://github.com/vuejs/pinia) | ||
+ [Windicss for Vite](https://windicss.org/integrations/vite.html) | ||
+ implicity module error fixes [here](https://pjausovec.medium.com/how-to-fix-error-ts7016-could-not-find-a-declaration-file-for-module-xyz-has-an-any-type-ecab588800a8) | ||
|
||
## Contribute | ||
+ star this repo | ||
+ click fork button | ||
+ clone to your local | ||
+ and make new Pull Request on your new branch | ||
+ Congratulate, you have just contribute to them. | ||
|
||
## Reference | ||
+ inspiration: [bee-music](https://dribbble.com/shots/16618273-Bee-Music-Music-Media-Player-Dashboard?fbclid=IwAR35hkSSs2dB2Ek66GAX-yPDfx3JYxxJgeQdwweuEiEtne02IUYk13kxDnk) | ||
+ idea inspiration: [bee-music](https://dribbble.com/shots/16618273-Bee-Music-Music-Media-Player-Dashboard?fbclid=IwAR35hkSSs2dB2Ek66GAX-yPDfx3JYxxJgeQdwweuEiEtne02IUYk13kxDnk) | ||
+ progress at [latest project updated](https://github.com/thuongtruong1009/bee-music/projects) | ||
+ Learning front-end web full course at [Front-end course](https://github.com/thuongtruong1009/challenge-resposive-web-design). | ||
+ Learn Snake Game tutorial at [Snake-Game-OOP](https://github.com/thuongtruong1009/Snake-Game-OOP) | ||
+ Learn Java for new beginner at [Java training](https://github.com/thuongtruong1009/java-oop-training) | ||
+ Make flip card game at [flip-card](https://github.com/thuongtruong1009/flip-cards) | ||
+ Learn computer architecture at [architecture](https://github.com/thuongtruong1009/computer-architecture) | ||
+ Pratice UI/UX at [league-fo-legend](https://github.com/thuongtruong1009/league-of-legends-clone) | ||
|
||
## ❤️ [Support me](https://www.paypal.me/thuongtruong1009) | ||
> We are looking for sponsors to join us to have better community reach and impact. | ||
[![MOMO](https://img.shields.io/badge/-MOMO-red?style=flat&labelColor=RED&logo=MOMO&logoColor=black)](https://nhantien.momo.vn/0917085937) | ||
<a href="https://www.paypal.me/thuongtruong1009"> | ||
<img height="25" marginTop="10" src="https://www.paypalobjects.com/digitalassets/c/website/marketing/apac/C2/logos-buttons/optimize/26_Blue_PayPal_Pill_Button.png"> | ||
</a> | ||
<a href='https://ko-fi.com/thuongtruong1009' target='_blank'> | ||
<img height='25' style='border:0px;height:28px;color:blue' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /> | ||
</a> | ||
|
||
## 📰 [License](LICENSE) | ||
+ ##### This project is distributed under the [MIT License](LICENSE). | ||
+ ##### Copyright of [@thuongtruong1009](https://github.com/thuongtruong1009), 2022. |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,63 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<style> | ||
.slidecontainer { | ||
width: 100%; | ||
} | ||
|
||
.slider { | ||
-webkit-appearance: none; | ||
width: 100%; | ||
height: 3px; | ||
background: #d3d3d3; | ||
outline: none; | ||
opacity: 0.7; | ||
-webkit-transition: .2s; | ||
transition: opacity .2s; | ||
} | ||
|
||
.slider::-webkit-slider-thumb { | ||
-webkit-appearance: none; | ||
appearance: none; | ||
width: 23px; | ||
height: 24px; | ||
border: 0; | ||
background: url('https://img.icons8.com/material-two-tone/24/000000/circled.png'); | ||
cursor: pointer; | ||
} | ||
|
||
.slider::-moz-range-thumb { | ||
width: 23px; | ||
height: 24px; | ||
border: 0; | ||
background: url('https://img.icons8.com/material-two-tone/24/000000/circled.png'); | ||
cursor: pointer; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div style="width:100px"> | ||
<div class="slidecontainer"> | ||
<input type="range" min="1" max="100" value="50" class="slider" id="myRange"> | ||
<p>Value: <span id="demo"></span></p> | ||
</div> | ||
</div> | ||
|
||
|
||
<script> | ||
var slider = document.getElementById("myRange"); | ||
var output = document.getElementById("demo"); | ||
output.innerHTML = slider.value; | ||
|
||
slider.oninput = function() { | ||
output.innerHTML = this.value; | ||
} | ||
</script> | ||
|
||
</body> | ||
|
||
</html> |
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
d963961
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: