9.26百度一面凉经

1.自我介绍
2.
请用flex实现九宫格布局
1,九宫格依次用数字1-9居中填充
2,内部井字分割线
html
<div class = 'gridBox'>
  <div class='cellLi'>1</div>
    <div class='cellLi'>2</div>
    <div class='cellLi'>3</div>
    <div class='cellLi'>4</div>
    <div class='cellLi'>5</div>
    <div class='cellLi'>6</div>
    <div class='cellLi'>7</div>
    <div class='cellLi'>8</div>
    <div class='cellLi'>9</div>
</div>
css
.gridBox{
    background-color: red;
    overflow:hidden;
    margin:20px 0;
    display:flex;
    flex-wrap:wrap;
}
.cellLi{
    width:calc(100%/3);
    padding:60px 0;
   text-align:center;
    border:1px solid #f5f5f5;
    box-sizing:border-box;
    background-color: #fff;
}
为什么要设置border-box:border-box;去掉之后会有什么后果?
3,写一个长宽均为屏幕宽度一半的元素,相对屏幕居中,如何去实现
4,讲一下vue有哪些生命周期,以及每个生命周期做了哪些事情?

许个愿望。。。但愿被捞!!!
#面试题目##百度#
全部评论
请问你现在牛客的状态是什么呀
点赞 回复 分享
发布于 2021-09-26 22:30

相关推荐

不愿透露姓名的神秘牛友
07-15 17:09
点赞 评论 收藏
分享
07-15 12:15
门头沟学院 Java
点赞 评论 收藏
分享
人力小鱼姐:实习经历没有什么含金量,咖啡店员迎宾这种就别写了,其他两段包装一下 想找人力相关的话,总结一下个人优势,结合校园经历里有相关性的部分,加一段自我评价
点赞 评论 收藏
分享
点赞 评论 收藏
分享
评论
点赞
1
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务