Meriadec Pillet
7 years ago
committed by
GitHub
2 changed files with 21 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
// @flow
|
|||
|
|||
import React from 'react' |
|||
import styled from 'styled-components' |
|||
|
|||
const TopGradientBox = styled.div` |
|||
width: 100%; |
|||
height: 80px; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
background: linear-gradient(#ffffff 40%, rgba(255, 255, 255, 0)); |
|||
z-index: 2; |
|||
pointer-events: none; |
|||
` |
|||
|
|||
const el = <TopGradientBox /> |
|||
|
|||
export default () => el |
Loading…
Reference in new issue