diff --git a/demo/index.html b/demo/index.html index 5a958ea..952740c 100644 --- a/demo/index.html +++ b/demo/index.html @@ -13,7 +13,7 @@ color: #555; } header { - background: linear-gradient(to right, #2c9fc4, #00b9a2) ; + background: linear-gradient(to right, rgb(192,162,248), rgb(110, 184, 251)); color: #fff; display: flex; height: 220px; @@ -21,6 +21,18 @@ font-size: 20px; justify-content: center; flex-direction: column; + position: relative; + } + header:after { + content: ''; + position: absolute; + width: 500px; + height: 500px; + background-color: rgba(255, 255, 255, .2); + border-radius: 50%; + top: -20%; + left: 50%; + pointer-events: none; } header a { display: inline-block; diff --git a/demo/index.js b/demo/index.js index 945b004..74a2fe0 100644 --- a/demo/index.js +++ b/demo/index.js @@ -11,7 +11,7 @@ class App extends React.Component { return (
Works with bootstrap
+Works with Bootstrap buttons
+ Ripple touch effect was introduced with material design in Android 5.0 (API level 21). + Touch feedback in material design provides an instantaneous visual confirmation at the point of contact when users interact with UI elements. For example, buttons now display a ripple effect when they are touched-this is the default touch feedback animation in Android 5.0. Ripple animation is implemented by the new RippleDrawable class. The ripple effect can be configured to end at the bounds of the view or extend beyond the bounds of the view. ++