diff --git a/demos/ripple.html b/demos/ripple.html
index d575f794369..b943765962e 100644
--- a/demos/ripple.html
+++ b/demos/ripple.html
@@ -47,6 +47,14 @@
border-radius: 50%;
}
+ .mdc-ripple-surface[data-mdc-ripple-is-unbounded][data-demo-no-js]::before,
+ .mdc-ripple-surface[data-mdc-ripple-is-unbounded][data-demo-no-js]::after {
+ height: 100%;
+ left: 0;
+ top: 0;
+ width: 100%;
+ }
+
button.demo-surface {
display: inline-block; /* Safari does not center button text otherwise :( */
background: none;
@@ -57,7 +65,14 @@
}
section {
- margin: 48px;
+ align-items: center;
+ display: flex;
+ margin-left: 10px;
+ }
+
+ section > div {
+ margin: 48px 0;
+ width: 400px;
}
body {
@@ -82,6 +97,13 @@
user-select: none;
-webkit-user-select: none;
}
+
+ @media (max-width: 565px) {
+ section {
+ flex-direction: column;
+ width: 100%;
+ }
+ }
@@ -92,40 +114,80 @@
MDC Ripple
- Bounded
-
- Interact with me!
+
+
Bounded
+
+ Interact with me!
+
+
+
+
Bounded - CSS Only
+
+ Interact with me!
+
- Unbounded
-
- favorite
+
+
Unbounded
+
+ favorite
+
+
+
+
Unbounded - CSS Only
+
+ favorite
+
- Theme Styles
-
- Primary
+
+
Theme Styles
+
+ Primary
+
+
+ Accent
+
-
- Accent
+
+
Theme Styles - CSS Only
+
+ Primary
+
+
+ Accent
+
+
- Applied to <button> element
+
+
Applied to <button> element
+
+
+
Applied to <button> element - CSS Only
+
+
+