# simple-ticker/trunk/css/marquee.css

Simple Ticker, version trunk. 26 lines.

- Page: https://pluginprobe.com/plugins/simple-ticker/trunk/code/css/marquee.css
- Raw: https://pluginprobe.com/plugins/simple-ticker/trunk/raw/css/marquee.css
- Modified: 2018-07-30T13:58:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/simple-ticker/trunk/code/css/marquee.css#L10-L20`.

```css
.marquee {
  overflow: hidden;
  position: relative;
}
.marquee::after {
  content: "";
  white-space: nowrap;
  display: inline-block;
}
.marquee > .marquee-inner {
  position: absolute;
  top: 0;
  white-space: nowrap;
  animation-name: marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.marquee > .marquee-inner:hover {
  animation-play-state: paused;
  cursor: default;
}
@keyframes marquee {
    0% { left: 100%; transform: translate(0); }
  100% { left: 0; transform: translate(-100%); }
}

```
