company logo
advertisement for deep fried Twinkies


固定在屏幕的某个位置不随页面进行滚动

拙风    2017-02-15 20:01:13   167   

#t { position: fixed; width: 40px; height: 40px; background: #eee; bottom: 10px; right: 10px; background-color: #DCFCE9; border: 1px double #06F867; text-align: center; padding: 0px; margin: 0px; z-index: 999; } div id=t onclick=showcd() to...


Foundation 学习笔记2

拙风    2016-07-03 19:28:59   135   

这页里 http://foundation.zurb.com/sites/docs/equalizer.html 有关于多行和列的排版 这里是格子的老家: http://foundation.zurb.com/sites/docs/grid.html 表单 http://foundation.zurb.com/sites/docs/forms.html...


Foundation学习

拙风    2016-07-01 22:38:11   143   

divclass=rowdivclass=columnalign-self-bottomAlignbottom/divdivclass=columnalign-self-middleAlignmiddle/divdivclass=columnalign-self-topAligntop.Loremipsumdolorsitamet,consecteturadipisicingelit.Nonharumlaborumcumvoluptatevel,eiusadipiscisim...


移动网页自动缩放

拙风    2016-05-06 20:22:18   209   

meta name = viewport content = target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.5, user-scalable=yes 查找了一下相关资料才算是明白了上面那行代码的意思: target-d...


有关于页面的布局

拙风    2016-02-19 16:14:30   216   

1.垂直盒子 html:要让它们垂直排列 div id = 'wrap' div id='header'/div div id='main'/div div id='footer'/div /div css: box-flex:兄弟元素之间比例,仅作一个系数。如果不指定高度,它们在这个盒子里会按指定的123比例来显示,如果有一列指定了高度,...


背景图片

拙风    2016-02-19 16:09:38   62   

CSS控制DIV背景图片显示位置 下面代码实现div层背景图片在底部显示: div { background:url(/images/about_bg.jpg) no-repeat fixed; background-position-y:bottom; } 代码详解: div { background-image:url(/images/bg.jpg); 设置div层的背景图片 backgro...