UNPKG

isometric-react

Version:

Isometric styling library made in React with as much flexibility over customization as possible. Rewrite of https://morgancaron.github.io/IsometricSass/ .

14 lines (13 loc) 293 B
import { css } from "styled-components"; import { hasPseudoElementBefore } from "./hasPseudoElement"; const before = css ` ${hasPseudoElementBefore}; &::before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } `; export default before;