![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html+css
我是你大爷的兄弟
前端菜鸡,学习中
展开
-
break和continue
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * break关键字可以用来退出switch或循环语句 * 不能在if语句中使用break和continue * break关键字,会立即终止离他最近的那个循环语句原创 2021-12-13 14:59:06 · 66 阅读 · 0 评论 -
立即执行函数
立即执行函数(匿名函数不用变量保存会报错) <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> //函数对象() /* * 立即执行函数 * 函数定义完,立即被调用,这种函数叫做立即执行函数 * 立即执行函数往往只原创 2021-11-29 09:13:37 · 100 阅读 · 0 评论 -
html中的特殊字符
原创 2021-10-13 09:58:57 · 49 阅读 · 0 评论 -
定位初步了解
定位 定位 1.是什么 定位是html中的一种布局方式 2.做什么 页面滚动,盒子位置固定不变等 3.构成 定位= 定位模式 + 边偏移 注意事项: 1.脱标 2.绝对定位/固定定位的盒子不能通过设置 margin: auto 设置水平居中 ...原创 2021-05-07 12:02:23 · 47 阅读 · 0 评论 -
正六边形旋转实现
1.行内样式 <div style="background: linear-gradient(120deg, transparent 30px,red 0) top left , linear-gradient(-120deg,transparent 30px,red 0) top right, linear-gradient(-60deg,transparent 30px,red 0) bottom right , linear-gradient(60deg,transparent 30px,原创 2021-01-09 23:37:57 · 1604 阅读 · 0 评论