随笔分类 -  没事写着玩

摘要: 阅读全文
posted @ 2013-07-19 17:54 高捍得 阅读(701) 评论(0) 推荐(0)
摘要:$(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 =... 阅读全文
posted @ 2013-07-19 17:26 高捍得 阅读(168) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2013-07-19 15:58 高捍得 阅读(388) 评论(0) 推荐(0)
摘要:@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 (@... 阅读全文
posted @ 2013-07-18 13:56 高捍得 阅读(508) 评论(0) 推荐(0)
摘要:代码如下: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <style type="text/css"> img { position: absolute; left: 50px; ... 阅读全文
posted @ 2012-06-08 09:27 高捍得 阅读(349) 评论(0) 推荐(0)
摘要:string con = ConfigurationManager.ConnectionStrings["ApplicationServices"].ToString(); StringBuilder sb = new StringBuilder(); sb.Append(" insert into a(name) values('... 阅读全文
posted @ 2012-05-09 14:25 高捍得 阅读(243) 评论(0) 推荐(0)
摘要:(ff测试) 圆角+ 阴影: <style type="text/css"> div { height: 50px; width: 300px; padding: 40px; border-radius: 40px; //圆角 ... 阅读全文
posted @ 2012-03-22 11:25 高捍得 阅读(206) 评论(0) 推荐(0)
摘要:说明:(图片自备, 名称为 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... 阅读全文
posted @ 2012-03-19 09:18 高捍得 阅读(302) 评论(0) 推荐(0)