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
.background-layers(@top, @bottom) { | |
background: url(@top), url(@bottom); | |
background-position: top center, top center; | |
background-attachment: fixed, fixed; | |
background-repeat: repeat, repeat; | |
-webkit-background-size: auto, cover; | |
-moz-background-size: auto, cover; | |
-o-background-size: auto, cover; | |
background-size: auto, cover; | |
} |
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
.background-cover(@cover: cover) { | |
-webkit-background-size: @cover; | |
-moz-background-size: @cover; | |
-o-background-size: @cover; | |
background-size: @cover; | |
} |
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
UIButton *btn=[UIButton buttonWithType:UIButtonTypeCustom]; | |
btn.frame=CGRectMake(5,10,300,20); | |
NSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc] initWithString:@" Manage\n My Trade"]; | |
[attrStr addAttribute:NSForegroundColorAttributeName value:altColorGroup4 range:NSMakeRange(0, attrStr.length)]; | |
[btn setAttributedTitle:attrStr forState:UIControlStateNormal]; |
NewerOlder