Skip to content

Instantly share code, notes, and snippets.

View bugsyAlexander's full-sized avatar

Mynor Alexander bugsyAlexander

View GitHub Profile
@bugsyAlexander
bugsyAlexander / CSS:vertical_Menu
Created January 18, 2013 04:06
vertical_menu
/* ===== Global styles =====*/
html{
background: #b1b1b1;
}
body{
font: 100% Georgia, "Times New Roman", Times, serif;
line-height: 1.4;
width: 70%;
margin: 0 auto;
}
@bugsyAlexander
bugsyAlexander / CSS:replace -9999px
Created January 15, 2013 04:07
Replacing -9999px
.hideText{
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
@bugsyAlexander
bugsyAlexander / CSS:@mediaQueries
Created January 6, 2013 02:38
CSS: Responsive Media Queries
/******* Desktop *******/
@media screen and (min-width: 769px) {
}
/******* Tablet *******/
@media screen and (max-width: 768px) {
}
/******* Mobile *******/
@media screen and (max-width: 480px) {
@bugsyAlexander
bugsyAlexander / CSS:imgReplacement
Created January 6, 2013 00:38
CSS: imgReplacement
.ir{
border:0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}