随笔分类 -  HTML+CSS+DIV

主要用来记录框架以及标签等
摘要:如何去掉右下角的三个点点 当一个video标签需要使用controls时候可以对其属性进行设置 利用controlslist属性可以设置其 <video :src="item.videoAdd" ref="video" controls="controls" controlslist="nodown 阅读全文
posted @ 2020-08-14 17:19 前端小超人 阅读(2987) 评论(0) 推荐(0)
摘要:在 less中不能使用css3 calc属性不能 css3 新增长度计算属性 可以根据不同单位计算宽度 .test{ width: calc(100% - 150px); } 但是当我们在less中使用这个方法的时候却出现了问题: less中写法:.test{ width: calc(100% - 阅读全文
posted @ 2020-03-20 15:46 前端小超人 阅读(596) 评论(0) 推荐(0)
摘要:********** 希望对大家帮助 我会继续努力的 如果有不对的地方请大家帮忙指出****** 1 【JS 代码】 <script> var oBox = document.getElementById("box"); var bigBox = document.getElementById("b 阅读全文
posted @ 2020-01-16 14:12 前端小超人 阅读(226) 评论(0) 推荐(0)
摘要:1 input file 透明度0 $('.filess').change(function(){ var file=$('.filess').val(); $('.filetext').val(file); }) 阅读全文
posted @ 2019-06-14 14:39 前端小超人 阅读(13070) 评论(0) 推荐(0)
摘要:CSS代码 .box-line, .box-line::before, .box-line::after { position: absolute; top: 0; bottom: 0; left: 0; right: 0;}.box-line { width: 200px; height: 200px; margin: auto; ba... 阅读全文
posted @ 2018-03-23 16:59 前端小超人 阅读(3454) 评论(0) 推荐(0)
摘要:1、什么叫做标签语义化? ->合理的标签做合适的事情 ->HTML中常用的标签都有哪些? (块状标签和行内标签) ->块状标签和行内标签的区别? (常用的有8条区别) 1)内联元素:和其他元素都在一行上,元素的高度,宽度及顶部和底部边距不可设置。元素的高度就是它包含的文字或者图片的宽度,不可改变。 阅读全文
posted @ 2017-11-10 10:32 前端小超人 阅读(1892) 评论(0) 推荐(0)
摘要:一 PC端meta标签 1 页面关键词 <meta name="keywords" content="your tags"> 2 页面描述 <meta name="description" content="150 words"> 3 搜索引擎方式:robotterms是一组使用(,)分割的值,通常 阅读全文
posted @ 2017-10-19 11:29 前端小超人 阅读(281) 评论(0) 推荐(0)
摘要:三角形 .sanjiao{ width:0px; height: 0px; overflow: hidden; border-width: 100px; border-color: transparent red transparent transparent; border-style: dash 阅读全文
posted @ 2017-05-10 10:48 前端小超人 阅读(324) 评论(0) 推荐(0)
摘要:1 PS:input属性有很多,所以大家在设置样式的时候一定要区分类型来设置样式(楼主真的吃了很多亏(^^)铭记在心一辈子) .table input[type=text]{ width: 80px; border-radius: 3px; } 基本语法是{box-shadow:[inset] x- 阅读全文
posted @ 2017-04-13 22:07 前端小超人 阅读(1031) 评论(0) 推荐(0)