
HTML
HTML学习,前端基础巩固和提升
啥咕啦呛
关注我,关注我,关注我!谢谢~
有志者事竟成破釜沉舟百二秦川终属楚,
苦心人天不负卧薪尝胆三千越甲可吞吴!
展开
-
logo一样的块上下左右居中的文字显示
今天分享一个display:flex的用法,需要上下左右剧中的特效: <div class="logobox" style="color:#fff; text-align: center; height: 80px; font-size: 20px; background: #0062b2; display: flex;justify-content: center;align-items: center;" >LOGO</div> 其中(关键): display: fle原创 2021-03-23 17:20:37 · 327 阅读 · 0 评论 -
控制台彩色背景的文字
今天发现一个有趣的打印,在控制台,我就是最靓的文字: var ms = "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a \x72\x67\x62\x61\x28\x32\x35\x32\x2c\x32\x33\x34\x2c\x31\x38\x37\x2c\x31\x29\x3b\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a \x2d\x6d\x6f\x7a\x2d\x6c\x69\x6e\x65\x61\x72\x2原创 2020-12-15 15:31:07 · 374 阅读 · 0 评论 -
【常用】手机响应式 css分配比例、meta设置、移动端功能整合
1.rem的配置基础: html{font-size:10px} @media screen and (min-width:321px) and (max-width:375px){html{font-size:11px}} @media screen and (min-width:376px) and (max-width:414px){html{font-size:12px}} @media screen and (min-width:415px) and (max-width:639px){htm原创 2020-10-12 15:22:57 · 816 阅读 · 1 评论