Skip to content

Instantly share code, notes, and snippets.

xem

Block or report user

Report or block xem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View dabblet.css
/* Y U NO ? */
body { background: #13579B; }
.outer1 { width: 100px; height: 100px; margin: 100px auto; }
.inner1 { width: 100%; height: 100%; text-align: center; background: #FEDCBA; transition: all 1s ease; }
.outer1:hover { position: absolute; top: 0; left: 0; }
.outer2 { width: 100px; height: 100px; position: relative; margin: 100px auto; }
.outer2:hover { position: static; }
View dabblet.css
/* Y U NO ? */
body { background: #13579B; }
.outer1 { width: 100px; height: 100px; margin: 100px auto; }
.inner1 { width: 100%; height: 100%; text-align: center; background: #FEDCBA; transition: all 1s ease; }
.outer1:hover { position: absolute; top: 0; left: 0; }
.outer2 { width: 100px; height: 100px; position: relative; margin: 100px auto; }
.outer2:hover { position: static; }
View dabblet.css
/* Y U NO ? */
body { background: #13579B; }
.outer1 { width: 100px; height: 100px; margin: 100px auto; }
.inner1 { width: 100%; height: 100%; text-align: center; background: #FEDCBA; transition: all 1s ease; }
.outer1:hover { position: absolute; top: 0; left: 0; }
.outer2 { width: 100px; height: 100px; position: relative; margin: 100px auto; }
.outer2:hover { position: static; }
View dabblet.css
/* zoom */
* { margin: 0; padding: 0; }
.containerTable { width: 200px; height: 100px; margin: 100px 0 0 300px; background: #987654; }
.containerTd { width: 100px; height: 100px; vertical-align:top; }
div { text-align: center; width: 100px; height: 100px; background: #ECA864; border: 1px solid black; transition: all 1s ease; position: absolute; }
div.zoom { width: 1024px; height: 700px; margin-left: -300px; margin-top: -100px; position: absolute; }
@xem
xem / LICENSE.txt
Created Sep 26, 2012 — forked from 140bytes/LICENSE.txt
Enhanced binary operations: left shift, right shift, and a bonus: bit extraction
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 MAXIME EUZIERE
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
View dabblet.css
.square { width: 100px; height: 100px; border: 1px solid black; }
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@xem
xem / dabblet.css
Created Apr 5, 2013
vertical margins and paddings depend on the parent's width.
View dabblet.css
/* vertical margins and paddings depend on the parent's width. */
div.out {
width: 800px;
height: 400px;
overflow: hidden;
background: #abc;
}
div.in {
@xem
xem / dabblet.css
Created Apr 5, 2013
vertical margins and paddings depend on the parent's width. Are there other CSS properties that do the same?
View dabblet.css
/* vertical margins and paddings depend on the parent's width. Are there other CSS properties that do the same? */
div.out {
width: 800px;
height: 400px;
overflow: hidden;
background: #abc;
}
div.in {
You can’t perform that action at this time.