This file contains 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
div { | |
padding: 2px 5px; | |
margin: 2px; | |
background: red; | |
} | |
.div { | |
background: black; | |
} |
This file contains 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
div { | |
padding: 5px; | |
margin: 2px; | |
background: black; | |
} | |
.one { | |
background: red; | |
display: run-in; | |
padding: 0px; |
This file contains 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
.container { | |
color: white; | |
background: black; | |
} | |
h4 { | |
background: red; | |
display: inline-block; | |
margin: 0px; | |
padding: 5px; |
This file contains 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
div { | |
background: black; | |
padding: 5px; | |
margin: 10px; | |
color: white; | |
} | |
.one { | |
background: red; | |
display: run-in; |
This file contains 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
.container { | |
width: 600px; | |
height: 300px; | |
position: relative; | |
} | |
.top, .bottom { | |
position: absolute; | |
width: 100%; | |
} |
This file contains 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
$css3-ie-support: 0 !default; | |
@mixin linear-gradient($topColor, $bottomColor) { | |
background-image: -moz-linear-gradient(top, $topColor, $bottomColor); | |
background-image: -webkit-gradient(linear, left top, left bottom, from($topColor), to($bottomColor)); | |
// If you set the output style as "compressed", it doesn't work well... | |
@if $css3-ie-support == 1 { | |
$ieTopColor: rgb(red($topColor), green($topColor), blue($topColor)); | |
$ieBottomColor: rgb(red($bottomColor), green($bottomColor), blue($bottomColor)); |
This file contains 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
.container { | |
width: 400px; | |
height: 500px; | |
background: #234234; | |
display: table; | |
margin: 10px auto; | |
transform: rotate(90deg); | |
} | |
.container div { | |
border: 1px solid red; |
This file contains 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
/* | |
Copyright (c) 2011 Damien Antipa, http://www.nethead.at/, http://damien.antipa.at | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: |
This file contains 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
<canvas id = "c" > </canvas> | |
<p> | |
Tear the cloth with your mouse.<br><br> | |
Right click and drag to cut the cloth.<br><br> | |
Reduce physics_accuracy if it's laggy, increase it for a better effect. | |
</p> |
This file contains 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
hr.android-style-text-input { | |
height: 10px; | |
border-color: #fff; | |
border-style: solid; | |
border-top-width: 0px; | |
} | |
OlderNewer