随笔 - 193  文章 - 0  评论 - 8  阅读 - 32万 
05 2022 档案
CSS 网页适配 iPhoneX
摘要:1、<meta name="viewport" content="width=device-width, viewport-fit=cover">2、body body { padding-bottom: constant(safe-area-inset-bottom); padding-botto 阅读全文
posted @ 2022-05-31 14:40 仔仔爱学习 阅读(62) 评论(0) 推荐(0) 编辑
webpack关于alias
摘要:alias 还有一种特殊的语法:key 的末尾带一个 $ 字符,表示精确匹配。 ~字符开头,Webpack 会将以~符号作为前缀的路径视作依赖模块而去解析 (等待完善) 阅读全文
posted @ 2022-05-17 08:58 仔仔爱学习 阅读(415) 评论(0) 推荐(0) 编辑
flex下 超出两行显示... 并垂直居中
摘要:<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content= 阅读全文
posted @ 2022-05-06 14:15 仔仔爱学习 阅读(310) 评论(0) 推荐(0) 编辑
flex子元素宽度不固定的情况下,怎么做到宽度自适应
摘要:子元素:flex:0 0 auto; 转自:https://www.cnblogs.com/magicg/p/15976857.html 阅读全文
posted @ 2022-05-05 14:20 仔仔爱学习 阅读(485) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示