Skip to content

Instantly share code, notes, and snippets.

View porsake's full-sized avatar

Svetlana porsake

  • home
  • Estonia
View GitHub Profile
@porsake
porsake / index.html
Created September 25, 2019 03:01
Responsive table
<div class="container">
<table>
<thead>
<tr>
<th>Название услуги</th>
<th>Сайт</th>
<th>Сроки</th>
<th>Количество страниц</th>
<th>Стоимость</th>
</tr>
@porsake
porsake / fiter-bg-modal.markdown
Created September 10, 2019 23:54
Fiter BG modal
/*
* запрещаем вводить цифры
* http://learn.javascript.ru/keyboard-events
*/
// keydown event
e = (e) ? e : window.event;
var charCode = (e.which) ? e.which : e.keyCode;
// если от 0 до 9
@porsake
porsake / base.jade
Created July 2, 2019 00:16 — forked from kovaldn/base.jade
base jade
doctype html
html
head
meta(charset = 'utf-8')
meta(name='viewport', content="initial-scale=1.0, width=device-width")
link(rel="stylesheet", href="css/main.css")
title
block title
body
block main
@porsake
porsake / index.html
Created June 29, 2019 22:26
Menu accordion pure JS
<button class="accordion">Вопрос 1</button>
<div class="panel">
<p>Ответ на Вопрос 1...</p>
</div>
<button class="accordion">Вопрос 2</button>
<div class="panel">
<p>Ответ на Вопрос 2...</p>
</div>
@porsake
porsake / button.sass
Created June 17, 2019 23:42 — forked from agragregra/button.sass
Button Sass Styles (Universal Starter)
.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