Skip to content

Instantly share code, notes, and snippets.

@artlili
artlili / modal.css
Created May 15, 2019 20:03
Modal window
.modal-mask {
position: fixed;
z-index: 9998;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .5);
display: table;
transition: opacity .3s ease;
<div id="root" class="container">
<tabs>
<tab name="Services" :selected="true">
<h1>What we do</h1>
</tab>
<tab name="Pricing">
<h1>How much we do it for</h1>
</tab>
<tab name="About Us">
@artlili
artlili / jquery.plugin.js
Last active May 1, 2019 15:17
jQuery plugin start
(($, window, undefined) => {
let pluginName = 'plugin_name',
document = window.document,
settings = {
}
class Plugin {
constructor(element, options) {
@artlili
artlili / button.sass
Last active May 1, 2019 15:12
Button Sass Style
.button
display: inline-block
border: none
color: #fff
text-decoration: none
background-color: $accent
padding: 15px 45px
font-size: 13px
text-transform: uppercase
font-weight: 600