<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lenzhou98的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lenzhou98</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lenzhou98]]></copyright><item><title><![CDATA[在Vue中使用postcss-pxtorem和postcss-px-to-viewport 转换rem vm]]></title><link>https://blog.youkuaiyun.com/lenzhou98/article/details/116600304</link><guid>https://blog.youkuaiyun.com/lenzhou98/article/details/116600304</guid><author>lenzhou98</author><pubDate>Mon, 10 May 2021 16:41:53 +0800</pubDate><description><![CDATA[1.安装插件
npm i postcss-pxtorem@5.1.1 -D
npm i postcss-px-to-viewport -D

2.在vue文件根目录新建postcss.config.js
3.写入以下内容
module.exports={
    "plugins":{
        /*优先使用rem,如果想使用vm,注释掉postcss-pxtorem*/
        "postcss-pxtorem":{
            rootValue: 37.5,//根元素大小
 ]]></description><category></category></item><item><title><![CDATA[PC端页面初始化CSS]]></title><link>https://blog.youkuaiyun.com/lenzhou98/article/details/116545655</link><guid>https://blog.youkuaiyun.com/lenzhou98/article/details/116545655</guid><author>lenzhou98</author><pubDate>Sat, 08 May 2021 22:13:24 +0800</pubDate><description><![CDATA[参考initialize和reset更改,不兼容ie10
代码如下
//解决横屏字体放大
html{
  -webkit-text-size-adjust: 100%;
}
//IE显示main标签
main {
  display: block;
}
//在火狐中正确显示hr  Edge和IE中显示溢出
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
//标准字体粗细和大小
b,strong{
  font-weigh]]></description><category></category></item><item><title><![CDATA[移动端页面布局几种方式]]></title><link>https://blog.youkuaiyun.com/lenzhou98/article/details/116544542</link><guid>https://blog.youkuaiyun.com/lenzhou98/article/details/116544542</guid><author>lenzhou98</author><pubDate>Sat, 08 May 2021 22:06:18 +0800</pubDate><description><![CDATA[1.B站适配
采用vw单位将页面分为100份 设置font-size:3.73333vw(14px)
边框用px 其他使用vw vh换算
2.淘宝 腾讯新闻 微博
采用rem 在html上设置font-size:37.5px(10份)或者3.75px(100份)
body设置固定font-size:3.7333rem(14px)
body上设置min-width:.320px;max-width:1080px控制页面范围

...]]></description><category></category></item><item><title><![CDATA[使用souceTree上传到GitHub Gitee远端代码库]]></title><link>https://blog.youkuaiyun.com/lenzhou98/article/details/116445577</link><guid>https://blog.youkuaiyun.com/lenzhou98/article/details/116445577</guid><author>lenzhou98</author><pubDate>Thu, 06 May 2021 09:05:46 +0800</pubDate><description><![CDATA[1.先到gitee或github创建一个远程库.
2.使用clone功能填写远程库名和本地库名[本地库需要为空文件夹]
3.写代码完成 先获取远端更新,再拉取远端更新[重要,合作一定要先拉取]
4.暂存所有提交文件,写更改内容理由,点击提交.
5.确认无误后点击推送 完成
PS:gitee会有权限问题 需要添加密匙,自行百度[错误问题以后会更]

...]]></description><category></category></item><item><title><![CDATA[国内登录github]]></title><link>https://blog.youkuaiyun.com/lenzhou98/article/details/116443988</link><guid>https://blog.youkuaiyun.com/lenzhou98/article/details/116443988</guid><author>lenzhou98</author><pubDate>Thu, 06 May 2021 08:12:07 +0800</pubDate><description><![CDATA[国内登录github方法
修改dns换成 233.5.5.5

]]></description><category></category></item></channel></rss>