学无止境,加油屌丝

05 2020 档案

摘要:简单描述 行内元素(inline)和块级元素(block)都是display属性的值。要知道行内元素和块级元素的区别,首先要了解他们的特性。 行内元素的特性:“行内”,顾名思义,在一行之内,所以相邻的行内元素在同一行,当他们宽度超过了容器的宽度才会自动换行。行内元素的宽度、高度、内边距的 top/b 阅读全文
posted @ 2020-05-30 22:49 nofeel666 阅读(881) 评论(0) 推荐(0)
摘要:小练习 顺序跳跃显示数组中的值 <input type="text" id="t" size="60"> <button id="s">stop</button> <script> var tt=document.getElementById('t'); var s=document.getElem 阅读全文
posted @ 2020-05-14 22:41 nofeel666 阅读(199) 评论(0) 推荐(0)
摘要:<style> #head{float: left;} #head ul li{float: left;list-style: none;padding-left: 15px;} .nav{font-size: 18px;font-weight: bold;} </style> <div id="h 阅读全文
posted @ 2020-05-13 13:07 nofeel666 阅读(211) 评论(0) 推荐(0)
摘要:<style> .s1{color: rebeccapurple;font-size: 25px;} .s2{color: red;} .s3{color: blue;} .s4{color:yellow;} </style> <div id="div"> <span>1</span> <span> 阅读全文
posted @ 2020-05-09 10:23 nofeel666 阅读(272) 评论(0) 推荐(0)