“viewpoint” = window size
viewpoint
css3提供了一些与当前viewpoint相关的元素,vw,vh,vim等。
vw = 1% of viewport width 1vh = 1% of viewport height 1vmin = 1vw or 1vh, 最小
1vmax = 1vw or 1vh, 最大
getDetailData () { var getPostDetailRequest = getRequest(Api.getPostByID(this.articleId)) getPostDetailRequest.then(({ data, statusCode }) => { if (statusCode === 200) { this.articleData = data.content.rendered this.articleData = MpvueMarkdownParser(data.content.rendered) console.log(this.articleData) } }) }
- 4567890
兼容性:chrome 20+/ safari 6+/ IE 10+ / FF 19+ / IOS 6+
hi,肥宅
👿 呵呵
测试3
回复44
CSS3+HTML5越来越强大了,能实现的功能也更多