diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-06-19 12:49:31 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-06-19 12:49:31 -0400 |
| commit | 8d4dffa6f01487be0cf5546653803d32282992eb (patch) | |
| tree | 46b2ace612f1e364645ca7d4e1c46e80ec970891 /stepped-solutions/05/frontend/components/styles/SickButton.js | |
| parent | 14caed5d15b3601bb91a5f4a688fbdfba38cf321 (diff) | |
video 5
Diffstat (limited to 'stepped-solutions/05/frontend/components/styles/SickButton.js')
| -rw-r--r-- | stepped-solutions/05/frontend/components/styles/SickButton.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/stepped-solutions/05/frontend/components/styles/SickButton.js b/stepped-solutions/05/frontend/components/styles/SickButton.js new file mode 100644 index 0000000..5b5352e --- /dev/null +++ b/stepped-solutions/05/frontend/components/styles/SickButton.js @@ -0,0 +1,20 @@ +import styled from 'styled-components'; + +const SickButton = styled.button` + background: red; + color: white; + font-weight: 500; + border: 0; + border-radius: 0; + text-transform: uppercase; + font-size: 2rem; + padding: 0.8rem 1.5rem; + transform: skew(-2deg); + display: inline-block; + transition: all 0.5s; + &[disabled] { + opacity: 0.5; + } +`; + +export default SickButton; |
