下周要面试前端,以前写的代码都忘得差不多了,周末稍微复习一下,也造福一下大家~
(不知道为什么之前写的很多东西都消失了……下次一定记得及时保存发布)
目前我打算从以下几个方面复习:
要面试的公司主要用的是Vue框架,后台主要是用python,然后包括一些TypeScript和
主要从Html,CSS,JavaScript的角度去讲一下
CSS部分
1. What is CSS selector specificity and how does it work? CSS选择器
2. What's the difference between "resetting" and "normalizing" CSS? Which would you choose, and why?
reset 的话是移除浏览器所提供的所有原始样式
normalize是make the browser style consistent
(顺便一提normalize.css有更好的support和documentation,还修复了可能一些bug)
3. Describe Floats and how they work.
float 是用来定义这个element浮动在这个container的那个方向,有left,right和none,inhe