![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
文章平均质量分 74
啥时候能干全栈
一个想要成为全栈工程师的默默奋斗小憨憨
展开
-
移动端/PC端适配实践
第一种方案amfe-flexible/lib-flexible和postcss-pxtorem,是阿里手淘系开源的一个库,用于设置font-size,同时处理一些窗口缩放的问题。我们使用的vant-ui,他的viewport适配方案,是按照设计稿375px去做的。所以第二种postcss-px-to-viewport更适合使用,postcss-px-to-viewport将px转换成视口单位vw。使用amfe-flexible/lib-flexible和postcss-pxtorem。原创 2023-08-14 14:51:26 · 840 阅读 · 0 评论 -
用canvas画跟随鼠标事件
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title></title> <style> body { margin: 0; overflow: hidden; } #canvas { background: ...原创 2020-02-09 19:46:47 · 742 阅读 · 0 评论 -
HTML5系统学习
---------------------加油加油武汉加油中国加油!------------------------------------------------------------------------------------2020-02-04----------------------------------------一.属性篇1.placeholder<input t...原创 2020-02-04 21:34:32 · 500 阅读 · 0 评论