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
*{margin:0; padding:0; border:0; outline:none;} | |
html, body{font:normal 14px/1 'Segoe UI', Arial, serif; color:#333;} | |
p{margin:0 0 20px;} | |
.fixed{ | |
position:fixed; | |
top:0; | |
left:0; | |
width:100%; | |
height:100px; |
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{cursor:url('custom-cursor.png'), default;} | |
html.ie{cursor:url('custom-cursor.cur'), default;} | |
a{cursor:pointer;} |
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
$('.overlay').click(function(e){ | |
if (e.target == e.currentTarget) { | |
$(this).hide(); | |
} | |
}); |
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
function log(message) { | |
try { | |
console.log(message); | |
} | |
catch (e) {} | |
finally { | |
return; | |
} | |
} |
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
textarea { | |
overflow: auto; | |
min-height: 100px; | |
resize: vertical; | |
vertical-align: top; | |
} |
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
div { | |
height: 300px; | |
overflow-y: scroll; | |
} | |
::-webkit-scrollbar { | |
width: 10px; | |
} | |
::-webkit-scrollbar-track { | |
-webkit-border-radius: 10px; | |
border-radius: 10px; |
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
// ajax container clickable item | |
$('#ajax-container').on('click', 'span', function() { | |
console.log('works!'); | |
}); |
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
_color: red; /* IE6 */ | |
*color: red; /* IE6, IE7 */ | |
+color: red; /* ??? IE7 */ | |
#color: red; /* ??? IE7 */ | |
color: red\0; /* ??? IE8 */ | |
color: red\9; /* lte IE9 */ |
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
<!--[if IEMobile 7 ]> <html class="ie-mobile"> <![endif]--> | |
<!--[if lte IE 7]> <html class="ie7"> <![endif]--> | |
<!--[if IE 8]> <html class="ie8"> <![endif]--> | |
<!--[if IE 9]> <html class="ie9"> <![endif]--> | |
<!--[if !IE]><!--> <html> <!--<![endif]--> | |
<!-- IE 10+ drop conditional comments so --> | |
<script> | |
if (/*@cc_on!@*/false) { | |
document.documentElement.className+=' ie10'; |
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
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { | |
display: block; | |
} | |
audio, canvas, video { | |
display: inline-block; | |
} |