Skip to content

Instantly share code, notes, and snippets.

@crysfel
Created May 11, 2015 18:36
Show Gist options
  • Save crysfel/4264cdcaf56ad3d6208f to your computer and use it in GitHub Desktop.
Save crysfel/4264cdcaf56ad3d6208f to your computer and use it in GitHub Desktop.
Web Component Style
<template>
<style>
#panel{
border-radius: 3px;
overflow: hidden;
font-family: 'Arial';
}
.panel-header{
padding: 10px 20px;
background-color: #1d2939;
}
.panel-header h1{
margin:0;
padding:0;
font-size: 8px;
line-height: 8px;
text-transform: uppercase;
color:#fff;
}
.panel-buttons span{
display: inline-block;
opacity: 0.2;
float:right;
color:#fff;
font-size: 16px;
transition: all 0.2s ease-out 0s;
cursor: pointer;
margin-top: 3px;
}
.panel-buttons span:hover{
opacity: 1;
}
.panel-body{
padding:5px 20px;
background-color: #fff;
}
</style>
...
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment