![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端面试
Sylvia...
这个作者很懒,什么都没留下…
展开
-
前端面试题目
2020-05-23 面试前端开发vue,node,css,git,html原创 2022-06-12 21:30:29 · 72 阅读 · 0 评论 -
端问题面试问题:画一个三角形
.p1 { width: 0; height: 0; border-bottom: 80px solid red; border-right: 80px solid transparent; border-left: 80px solid transparent;}.p2 { width: 0; height: 0; border-top: 80px solid red; border-right: 80px solid transparent; border-left: 80p.原创 2021-03-10 16:03:31 · 183 阅读 · 0 评论 -
前端问题面试问题:1rem、1em、1vh、1px各代表的含义
1rem相对于页面<html>的大小,通常的做法是给html根元素设置一个字大小,其他元素的长度相对于根元素的大小。附上: web动态设置rem链接1em:相对于父元素的字体大小元素的margin/padding/width/height则相对于该元素的font-size大小 1vh/1vw:视窗的宽度/高度。100vh/100vw相当于整个视窗的宽高。1vh=视窗高度的1%;1vw=视窗宽度的1%1px: 像素:相对于屏幕分辨率而言 一般电脑分辨率是1920 *原创 2021-03-09 15:46:20 · 3760 阅读 · 0 评论 -
前端问题面试问题:css水平、垂直居中的写法
前端问题面试问题一:css水平、垂直居中的写法flex布局<div class="p"> <h2 class="title">felx布局</h2> <div class="content con1"> <div class="con"></div> </div></div>.con1 { display: flex; justify-content: center; align-原创 2021-03-09 15:11:50 · 136 阅读 · 0 评论