随笔分类 -  CSS

摘要:filter: blur(3px); 阅读全文
posted @ 2021-04-27 14:43 enych 阅读(140) 评论(0) 推荐(0) 编辑
摘要:bottom: 40px; height: calc(100% - 90px); 控制图片居中 font-family: Arial, sans-serif; font-size: 16px; background-color: rgba(51, 51, 51, 0.95); height: 100 阅读全文
posted @ 2020-09-24 09:17 enych 阅读(635) 评论(0) 推荐(0) 编辑
摘要:转自: https://blog.csdn.net/qq_40717869/article/details/81749970 1.用fixed定位来解决 解决思路:这个就是把html,body设置width: 100%; height: 100%; position: fixed;top:0;lef 阅读全文
posted @ 2020-09-04 20:08 enych 阅读(1372) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <style> #lay-table { background-color: #fff; color: #666; border-collapse: collapse; border-spacing: 0; width: 100%; } # 阅读全文
posted @ 2020-03-04 17:02 enych 阅读(656) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <style> #lay-table { background-color: #fff; color: #666; border-collapse: collapse; border-spacing: 0; } #lay-table td 阅读全文
posted @ 2020-02-28 15:26 enych 阅读(4360) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <style> ._ul>li 阅读全文
posted @ 2020-02-25 14:19 enych 阅读(164) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <style> .div1 { height: 45px; line-height: 45px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width: 阅读全文
posted @ 2020-01-01 19:53 enych 阅读(121) 评论(0) 推荐(0) 编辑
摘要:两个重要的javascript语句: top.result.document.location='result.html?data=' + data; --------url传参长度有限制。。。。 和 window.top.frames['result'].document.getElementBy 阅读全文
posted @ 2019-12-31 20:43 enych 阅读(1264) 评论(0) 推荐(0) 编辑
摘要:<div style="margin-top:20px;margin-bottom:10px;"> <div style="display: inline-block;vertical-align: bottom;"> <select style="width:100%;" id="type0">< 阅读全文
posted @ 2019-12-26 15:23 enych 阅读(2589) 评论(0) 推荐(1) 编辑
摘要:来自 https://www.w3school.com.cn/cssref/pr_transition-timing-function.asp css <!DOCTYPE html> <html> <head> <style> .right_head_ul li { display: inline- 阅读全文
posted @ 2019-11-27 19:40 enych 阅读(1011) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <body> <table bgcolor = "black" cellspacing= "1" > <tr bgcolor= "white"> <td colspan= "4" align= "center">通讯录</td> </tr> <tr bg 阅读全文
posted @ 2019-11-20 22:39 enych 阅读(160) 评论(0) 推荐(0) 编辑
摘要:div水平和垂直居中,text-align和vertical-align不起作用,因为标签div没有这两个属性,所以再css中设置这两个值不能居中的效果。 1. div水平居中:设置margin的左右边距为自动。margin:0 auto; 2. div中的文字居中:将div的行高设置跟其高度一样的 阅读全文
posted @ 2019-11-20 22:33 enych 阅读(194) 评论(0) 推荐(0) 编辑
摘要:未知子元素宽高 <li style="width: 33.3%;" data_url="Navig/MatterInfos" data_id="18"><div style="background-color: #F874A4;height: 400px;display: flex;"> <div 阅读全文
posted @ 2019-10-14 14:03 enych 阅读(212) 评论(0) 推荐(0) 编辑
摘要:.metro-layout .items-box:first-child a{ background: #00a8ec; } .metro-layout .items-box:nth-child(2){ position: absolute; left: 0px; top: 0px; transform: translate3d(0px, 200px, 0px);... 阅读全文
posted @ 2019-10-14 11:30 enych 阅读(109) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示