Skip to content

Instantly share code, notes, and snippets.

View tyv's full-sized avatar

Yuri Tkachenko tyv

  • Ukraine/Kyiv
View GitHub Profile
@tyv
tyv / dabblet.css
Last active August 29, 2015 14:17
Untitled
ul, ol
{
width: 200px;
list-style: none;
list-style-position: inside;
margin: 0;
padding: 0;
}
@tyv
tyv / gist:4af5b5ca09c8076b5742
Created January 22, 2015 21:59
parent data access with riot
<myparent>
<div>{ list[2] ? list[2].e : list[0].a }</div>
<mychild list={ list }></mychild>
this.list = [{ a: 'b' }, { c: 'd' }];
</myparent>
<mychild>
// any HTML here
@tyv
tyv / dabblet.css
Created December 8, 2013 12:05
Untitled
.h
{
width: 200px;
height: 200px;
margin: 50px;
aborder: 1px solid rgba(0,0,0,0.1);
perspective: 800px;
}
.a,
@tyv
tyv / dabblet.css
Created November 7, 2013 09:15
Untitled
span
{
background: red;
}
.b
{
display: inline-block;
max-width: 100%;
overflow: auto;
@tyv
tyv / dabblet.css
Created September 3, 2013 08:54
Untitled
pre
{
border: 1px solid red;
}
.i
{
display: inline;
}
@tyv
tyv / dabblet.css
Created August 26, 2013 10:21
input.css
/* input.css */
.input
{
backgound: #fff;
}
.input_size_xl.input_theme_green:after
{
content: '><'
}
@tyv
tyv / dabblet.css
Created August 25, 2013 15:03
Untitled
.b-form-input_has-clear_yes .b-form-input__input::-ms-clear,
.spin{display:none}
.spin { color: red; }
@tyv
tyv / dabblet.css
Created August 3, 2013 11:44
Untitled
td:focus
{
outline: 0;
border: 1px solid red;
}
@tyv
tyv / dabblet.css
Created July 23, 2013 19:51
Untitled
.dib
{
display: inline-block;
background: gray;
}
@tyv
tyv / dabblet.html
Created July 22, 2013 13:43
Untitled
<a href="/#abc.def">sdc</a>