Skip to content

Instantly share code, notes, and snippets.

View greystate's full-sized avatar
:octocat:
Octocatering

Chriztian Steinmeier greystate

:octocat:
Octocatering
View GitHub Profile
@greystate
greystate / dabblet.css
Created September 28, 2019 06:53
Andy's breakout button
/**
* Andy's breakout button
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
body {
@greystate
greystate / dabblet.css
Created September 28, 2019 06:32
Button style
/**
* Button style
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
font-size: 160%;
}
@greystate
greystate / SiteSetting.config
Created August 6, 2019 15:34
Checking Umbraco Cloud environment
<?xml version="1.0" encoding="UTF-8"?>
<SiteSettings environment="local">
<Settings for="development">
<!-- ... -->
</Settings>
<Settings for="live">
<!-- ... -->
</Settings>
</SiteSettings>
@greystate
greystate / dabblet.css
Created March 4, 2019 22:36
Dot with underlay
/**
* Dot with underlay
*/
.dot {
transition: max-width 0.7s ease-out;
box-sizing: border-box;
position: relative;
border-radius: 17px;
padding: 7px 17px 7px 7px;
background-color: rgba(0, 0, 0, 0.5);
@greystate
greystate / dabblet.css
Created January 28, 2019 11:52
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background:
linear-gradient(to bottom, #f06, #f06 5px, yellow 0, yellow 57px, #f06 0) no-repeat;
height: 62px;
@greystate
greystate / dabblet.css
Last active January 22, 2019 20:29
2DScroller Spike
/**
* 2DScroller Spike
*/
body { --value: 100; }
.item1, .item2 { box-sizing: border-box; }
section {
position: relative;
@greystate
greystate / dabblet.css
Created April 11, 2018 18:50
"Screens"
/**
* "Screens"
*/
* {margin: 0; padding: 0;}
main {
font-size: 130%;
display: grid;
grid-auto-rows: minmax(100vh, min-content);
background: #efefef;
@greystate
greystate / dabblet.css
Created March 9, 2018 11:09
img::after exploration
/**
* img::after exploration
*/
body {
}
img {
background: maroon;
@greystate
greystate / dabblet.css
Created March 9, 2018 11:04
Keep the "New card" button top right, however many columns & rows there are.
/**
* Keep the "New card" button top right, however many columns & rows there are.
* Resize the viewport...
*/
body {
background: #dedede;
color: #999;
font: 2rem sans-serif;
}
@greystate
greystate / dabblet.css
Created March 4, 2018 22:48
Keep the "New card" button top right, however many columns & rows there are.
/**
* Keep the "New card" button top right, however many columns & rows there are.
* Resize the viewport...
*/
body {
background: #dedede;
color: #999;
font: 2rem sans-serif;
}