Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ImageBox component
import React from 'react';
import styled from 'styled-components';
import BlackBoxAnimated from './BlackBoxAnimated';
const ImageBox = styled.div`
width: 100vw;
height: 100vh;
background: url('http://4khdwallpapers.net/wp-content/uploads/2018/01/wonder-woman-hd-wallpaper.jpg');
background-size: cover;
background-position: center;
`;
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment