Skip to content

Instantly share code, notes, and snippets.

@hamatoyogi
Created December 31, 2018 00:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamatoyogi/b96f8525f6e1a4879c32de3f94658f0b to your computer and use it in GitHub Desktop.
Save hamatoyogi/b96f8525f6e1a4879c32de3f94658f0b to your computer and use it in GitHub Desktop.
import styled from 'styled-components';
// some overly styled button
const MyButton = styled.button`
   background: #3d94f6;
   background-image: linear-gradient(to bottom, #3d94f6, #1e62d0);
   border-radius: 20px;
   color: #ffffff;
   font-family: Open Sans;
   font-size: 40px;
   font-weight: 100;
   padding: 40px;
   box-shadow: 1px 1px 20px 0px #000000;
   text-shadow: 1px 1px 20px #000000;
   border: solid #337fed 1px;
   text-decoration: none;
   display: inline-block;
   cursor: pointer;
&:hover {
   background: #1e62d0;
   background-image: linear-gradient(to bottom, #1e62d0, #3d94f6);
   text-decoration: none;
}
`;
// a styled header
const Header = styled.h1`
font-weight: bold;
font-family: Helvetica;
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment