From 8d4dffa6f01487be0cf5546653803d32282992eb Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Tue, 19 Jun 2018 12:49:31 -0400 Subject: video 5 --- .../05/frontend/components/styles/CloseButton.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 stepped-solutions/05/frontend/components/styles/CloseButton.js (limited to 'stepped-solutions/05/frontend/components/styles/CloseButton.js') diff --git a/stepped-solutions/05/frontend/components/styles/CloseButton.js b/stepped-solutions/05/frontend/components/styles/CloseButton.js new file mode 100644 index 0000000..69fd55c --- /dev/null +++ b/stepped-solutions/05/frontend/components/styles/CloseButton.js @@ -0,0 +1,13 @@ +import styled from 'styled-components'; + +const CloseButton = styled.button` + background: black; + color: white; + font-size: 3rem; + border: 0; + position: absolute; + z-index: 2; + right: 0; +`; + +export default CloseButton; -- cgit v1.3