chromium/ui/webui/resources/cr_elements/cr_ripple/cr_ripple.css

/* Copyright 2024 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #scheme=relative
 * #css_wrapper_metadata_end */

:host {
  bottom: 0;
  display: block;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  /* For rounded corners: http://jsbin.com/temexa/4. */
  transform: translate3d(0, 0, 0);
}

.ripple {
  background-color: currentcolor;
  left: 0;
  opacity: var(--paper-ripple-opacity, 0.25);
  pointer-events: none;
  position: absolute;
  will-change: height, transform, width;
}

.ripple,
:host(.circle) {
  border-radius: 50%;
}