This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tablet: "..."; | |
$tablet-landscape: "..."; | |
$desktop: "..."; | |
body { | |
// style for mobile (STYLE A) | |
@media #{$tablet} { | |
//style for tablet (STYLE B) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML --> | |
<select> | |
<option value="Aceh">Aceh</option> | |
<option value="Bali">Bali</option> | |
<option value="Banten">Banten</option> | |
<option value="Bengkulu">Bengkulu</option> | |
<option value="Gorontalo">Gorontalo</option> | |
<option value="Jakarta">Jakarta</option> | |
<option value="Jambi">Jambi</option> | |
<option value="Jawa Barat">Jawa Barat</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Phyton | |
ina = [ | |
'Aceh' , | |
'Bali' , | |
'Banten' , | |
'Bengkulu' , | |
'Gorontalo' , | |
'Jakarta' , | |
'Jambi' , | |
'Jawa Barat' , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby | |
ina = [ | |
'Aceh' , | |
'Bali' , | |
'Banten' , | |
'Bengkulu' , | |
'Gorontalo' , | |
'Jakarta' , | |
'Jambi' , | |
'Jawa Barat' , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PHP | |
$ina = Array( | |
'Aceh' , | |
'Bali' , | |
'Banten' , | |
'Bengkulu' , | |
'Gorontalo' , | |
'Jakarta' , | |
'Jambi' , | |
'Jawa Barat' , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// js | |
var ina = [ | |
'Aceh' , | |
'Bali' , | |
'Banten' , | |
'Bengkulu' , | |
'Gorontalo' , | |
'Jakarta' , | |
'Jambi' , | |
'Jawa Barat' , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$mobile = "screen and (min-width: 30em)"; | |
$desktop = "screen and (min-width: 60em)"; | |
$footer-height; | |
body{ | |
@media #{$mobile}{ | |
$footer-height: 200px; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html, <html spellcheck="false" contenteditable> <style> html,body{min-height: 100%} body {min-height: 100%; background-color: transparent; background-image: -webkit-linear-gradient(top, #ddd 2%, transparent 2%); background-image: -moz-linear-gradient(top, #ddd 2%, transparent 2%); background-image: -o-linear-gradient(top, #ddd 2%, transparent 2%); background-image: linear-gradient(to bottom, #ddd 2%, transparent 2%); background-size: 100% 1.5em; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; color: #333; display: block; font: normal 1.5em 'Cambria', georgia, serif; height: 100%; line-height: 1.5em; margin: 0 auto; padding: .2em .5em; position: relative; vertical-align: bottom; width: 80%; } body:before, body:after{ content: ''; position: absolute; left: 0; top: 0; width: 100%; min-height: 100%; background: transparent; z-index: -1; } body:before{ background-image: -webkit-linear-gradient(left, #ccc 5px, transparent 5px, transparent 100%); background-image: -moz- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box{ | |
width: 400px; | |
height: 200px; | |
background: darkblue; | |
margin: 4em auto 0; | |
} | |
.shadow{ | |
box-shadow: 0 0 4px 5px rgba(0,0,0,.8); | |
} |
NewerOlder