Skip to content

Instantly share code, notes, and snippets.

View mokhov's full-sized avatar

Oleg Mokhov mokhov

  • Yandex
  • Ekaterinburg
View GitHub Profile
@mokhov
mokhov / dabblet.css
Created October 31, 2024 10:51
Untitled
.a {
border: 2px solid red;
padding: 5px;
position: relative;
}
textarea:before {
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
@mokhov
mokhov / dabblet.css
Created October 23, 2024 14:14
Untitled
.wrapper {
display: grid;
background: gray;
display: grid;
width: 200%;
grid-template-columns: 1fr 1fr;
}
input:checked + .wrapper {
}
@mokhov
mokhov / dabblet.css
Last active October 23, 2024 14:14
Untitled
.wrapper {
display: grid;
background: gray;
display: grid;
width: 200%;
grid-template-columns: 1fr 1fr;
}
input:checked + .wrapper {
}
@mokhov
mokhov / dabblet.css
Created October 6, 2024 07:28
Untitled
body {
font-family: Tahoma;
}
@mokhov
mokhov / dabblet.css
Created September 24, 2024 15:44
Untitled
section {
display: flex;
width: 750px;
}
.first-letter {
width: 250px;
font: 10px "CloisterBlack";
font-weight: bold;
margin-top: 10px;
@mokhov
mokhov / dabblet.css
Created December 20, 2016 17:33
Untitled
div {
height: 50px;
width: 50px;
border-radius: 50%;
position: absolute;
top: 200px;
left: 400px;
background: black;
}
@mokhov
mokhov / dabblet.css
Last active November 14, 2017 08:47
Untitled
.layout {
display: grid;
grid-template-columns: 100px 1fr 100px 2fr 100px;
grid-template-rows: auto 50px 100px auto;
grid-template-areas: "a a a a a"
"c b b b d"
"e b b b d"
"f f f g g";
}
@mokhov
mokhov / dabblet.css
Created October 18, 2016 12:20
Untitled
p {
color: green;
}
@mokhov
mokhov / dabblet.css
Last active October 17, 2016 13:44
Untitled
a { color: red }
span { color: blue }
p { color: purple }
p p { color: green }
* { color: yellow }
@mokhov
mokhov / dabblet.css
Last active October 9, 2016 14:19
Untitled
div {
font-size: 100px;
font-family: ComicSans,
Yandex Sans Logotype;
color: black;
bem: true;
.yandex {
color: yellow;
}