随笔分类 - 没事写着玩
摘要:$(function () { // window['vm'] = {}; /*var nav = new G.nav('resources/data/nav.json'); nav.getViewModel(function (viewModel) { vm = viewModel; ko.applyBindings(vm); }) */ var items = function (item) { this.item = item; } var vm =...
阅读全文
摘要:@baseColor: red;@switch: light; //dark// according the first param to call class. .mixin (dark, @color) { color: darken(@color, 10%);}.mixin (light, @color) { color: @color;}.mixin (@_, @color) { display: block;}//end//Guards begin// can used > >= = = .guards (@a) when (@a){} or .guards (@...
阅读全文
摘要:代码如下: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <style type="text/css"> img { position: absolute; left: 50px; ...
阅读全文
摘要:string con = ConfigurationManager.ConnectionStrings["ApplicationServices"].ToString(); StringBuilder sb = new StringBuilder(); sb.Append(" insert into a(name) values('...
阅读全文
摘要:(ff测试) 圆角+ 阴影: <style type="text/css"> div { height: 50px; width: 300px; padding: 40px; border-radius: 40px; //圆角 ...
阅读全文
摘要:说明:(图片自备, 名称为 jpg[0,2].jpg class为( one two three)对应 前面的 0,1,2) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml...
阅读全文
浙公网安备 33010602011771号