.detail { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 100%; overflow: auto; } .detail-wrapper ... Read More
posted @ 2017-06-05 19:04
JohnYunhan
Views(142)
Comments(0)
Diggs(0)
.border-1px{ position: relative; } .border-1px:after { display: block; position: absolute; left: 0; bottom: 0; border-top: 1px solid #ccc; width: 100%; content: ''; }... Read More
posted @ 2017-06-05 17:11
JohnYunhan
Views(109)
Comments(0)
Diggs(0)
if (!event._constructed) { return; } Read More
posted @ 2017-06-05 16:25
JohnYunhan
Views(118)
Comments(0)
Diggs(0)
此方法的技巧在于图片外层容器的padding-top值为100%,当padding的值为百分数时,其是基于父元素宽度的百分比上内边距。这样一来相当于是给图片的显示创造了一个高度与屏幕宽度相等的区域。 Read More
posted @ 2017-06-05 16:22
JohnYunhan
Views(201)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号