Skip to content

Instantly share code, notes, and snippets.

@prateekjadhwani
Last active March 8, 2018 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prateekjadhwani/7e87318e4904bd9d9be430e65f0ea879 to your computer and use it in GitHub Desktop.
Save prateekjadhwani/7e87318e4904bd9d9be430e65f0ea879 to your computer and use it in GitHub Desktop.
green-button button {
background: #02C385;
display: block;
width: 100%;
height: 50px;
color: white;
margin: 8px;
border: none;
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
padding: 16px 20px;
box-shadow: 0 8px 16px rgba(0,0,0,.1), 0 3px 6px rgba(0,0,0,.08);
outline: 0;
letter-spacing: .04em;
transition: all .15s ease;
cursor: pointer;
}
import { Component, Prop } from '@stencil/core';
@Component({
tag: 'green-button',
styleUrl: 'green-button.css'
})
export class GreenButton {
@Prop() text: string;
render() {
return (
<button>{this.text}</button>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment