holloway / ripple Goto Github PK
View Code? Open in Web Editor NEWRippleButtons.js - a tiny standalone library for adding ripple animations to your website
Home Page: http://holloway.github.com/ripple
License: GNU General Public License v3.0
RippleButtons.js - a tiny standalone library for adding ripple animations to your website
Home Page: http://holloway.github.com/ripple
License: GNU General Public License v3.0
Hi there ,
did you plan about bower package ?
This elements have:
<header>
...
...
<a
class="main_title"
onclick="go_after_timeout(this, event, '{{ link___main_page }}')"
>
{% if DEFAULT_LANG == "ru" %}Добро пожаловать на личную страницу vlad1777d
{% else %}Welcome to vlad1777d personal page
{% endif %}
</a>
...
...
</header
and such does not:
<header>
...
...
<div class="language_switcher">
<a class="language_button russian_button button_ripple" onclick="go_after_timeout(this, event, '{{ link___main_page___russian }}')"></a>
<div class="language_button_separator"></div>
<a class="language_button english_button button_ripple" onclick="go_after_timeout(this, event, '{{ link___main_page___english }}')"></a>
</div>
...
...
</header>
their css:
.language_switcher {
display: block;
position: absolute;
/*top: 3vmin;
right: 1vmin;*/
top: 0vmin;
right: 0vmin;
padding-top: 3vmin;
padding-right: 1vmin;
padding-left: 12vmin;
height: 12vmin;
z-index: 1;
}
.language_button {
display: block;
width: 32pt;
height: 18pt;
background-size: 100% 100%;
box-shadow: 0 0 3pt 0px hsla(0, 0%, 0%, 0.8), inset 0 0 16pt 0px hsla(0, 0%, 0%, 0.8);
transition-duration: 0.6s;
}
.main_title {
/* Заглавие "Добро пожаловать" со ссылкой на главную страницу. */
display: flex;
justify-content: flex-start;
align-items: center;
width: calc(100% - (8.33vw + 2.08vw + 16.66vw)); /* accounting padding */
height: 16.66vh;
margin: 0;
padding-left: calc(8.33vw + 2.08vw);
padding-right: 16.66vw;
font-size: 18pt;
background-color: hsla(0, 0%, 50%, 0.0);
transition-duration: 0.5s;
}
I'm trying to add it to this website (vlad1777d only page), it's full css:
https://github.com/vlad1777d/vlad1777d.github.io/blob/master/theme/css/block___header.css
it's html:
https://github.com/vlad1777d/vlad1777d.github.io/blob/master/index.html
Update: commented background-color here: https://github.com/vlad1777d/vlad1777d.github.io/blob/master/theme/css/block___header.css#L163
and ripple effect appeared on this submenu items (submenu > a).
Update: my website with partially implemented adding ripple.js:
vlad1777d.github.io___bug_ripple.js.zip
(it depends on current location, so it could be build with script "compile___vlad1777d___local.py" using pelican and python
(python3 and pelican static website generator must be installed)
Let me start by thanking you for your work.
As the title mentions it doesn't work in IE11
It works in Chrome, Firefox, Safari and Opera.
MacOS10.10 + Firefox33: ripple base button center position not base click position
Windows7x64 + Firefox32: ripple strange
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.