https://github.com/dkter/reveal_button
A cool HTML5 button in the style of Windows 10's buttons, with CSS gradients
https://github.com/dkter/reveal_button
Last synced: over 1 year ago
JSON representation
A cool HTML5 button in the style of Windows 10's buttons, with CSS gradients
- Host: GitHub
- URL: https://github.com/dkter/reveal_button
- Owner: dkter
- License: other
- Created: 2020-02-29T00:40:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T00:50:51.000Z (over 6 years ago)
- Last Synced: 2025-01-16T11:42:44.045Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
reveal_button
==
A cool HTML5 button attempting to mimic Windows's Fluent Design buttons.
[Try it out!](https://dkter.github.io/reveal_button/demo.html)
Disclaimer
--
I made this as a fun project that looks cool, but the performance of CSS
gradients isn't nearly as polished as whatever Windows uses for compositing.
This will kill laptop batteries and run slowly on older computers and mobile
devices. **It should not be used in any normal website.** If you don't believe
me, open up a CPU graph and run your cursor over the buttons.
I probably shouldn't have to say this, but web devs will always be web devs.
Usage
--
First of all, please don't.
But if you really have to:
* Include the `reveal/reveal.js` and `reveal/reveal.css` files in your
``.
* Create a reveal button with ``.
License
--
```
The PLEASE DO NOT USE THIS PUBLIC LICENSE
by David Teresi, who is not at all qualified to write legal text
Copyright (c) 2020 David Teresi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
David Teresi hereby reserves the right to yell at any person who uses or
distributes the Software in any way.
```