随笔分类 -  HTML+CSS

摘要:<embed src="https://www.mahailushu.com/pdfjs/web/mine.pdf" type="application/pdf" width="1000" height="800"/> 阅读全文
posted @ 2023-09-22 11:27 苦逼的猿人 阅读(19) 评论(0) 推荐(0) 编辑
摘要:在head标签加上 <style type="text/css">html {filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);-webkit-filter: grayscale(100%);}</style> 阅读全文
posted @ 2022-11-30 19:55 苦逼的猿人 阅读(36) 评论(0) 推荐(0) 编辑
摘要:环境是手机浏览网页 禁止手指滑动屏幕左右上下回弹:body{overflow:hidden;} 禁止左右回弹:body{overflow-x:hidden;} 禁止上下回弹:body{overflow-y:hidden;} 阅读全文
posted @ 2022-11-06 21:42 苦逼的猿人 阅读(89) 评论(0) 推荐(0) 编辑
摘要:<html> <head> <style> html, body { height: 100%; width: 100%; } body { background-image: url(1.jpg), linear-gradient(rgb(219, 166, 166), rgb(0, 0, 172 阅读全文
posted @ 2022-10-27 15:22 苦逼的猿人 阅读(115) 评论(0) 推荐(0) 编辑
摘要:body,div ,p{ padding:0px; margin:0px } #content { padding:0px; margin:0px auto;/* 左右居中 上下为0*/ width:80%;/*宽为80% */ } #content .note { column-gap:20px; 阅读全文
posted @ 2022-10-27 09:53 苦逼的猿人 阅读(17) 评论(0) 推荐(0) 编辑
摘要:<style> .js_video_box{width:300px;height:200px;background-color:#666;} .js_video{width: 100%;height:100%;background-size: cover;background-position: c 阅读全文
posted @ 2022-10-21 14:29 苦逼的猿人 阅读(219) 评论(0) 推荐(0) 编辑
摘要:当宽度小于640px的时候加载css下的css-mobile.css<link href="css/css-mobile.css" rel="stylesheet" type="text/css" media="screen and (max-width: 640px)">当宽度大于640px的时候 阅读全文
posted @ 2021-03-12 13:45 苦逼的猿人 阅读(182) 评论(0) 推荐(0) 编辑
摘要:<!doctype html> <html> <head> <title></title> <script src="~/Content/scripts/jquery.js"></script> <script type="text/javascript"> $(function () { $("# 阅读全文
posted @ 2021-02-25 22:12 苦逼的猿人 阅读(65) 评论(0) 推荐(0) 编辑
摘要:::-webkit-scrollbar{width:6px;height:16px;} ::-webkit-scrollbar-track-piece{background-color: #f3f3f3;-webkit-border-radius: 3px;} ::-webkit-scrollbar 阅读全文
posted @ 2020-01-31 15:20 苦逼的猿人 阅读(134) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>右侧划出& 阅读全文
posted @ 2019-09-30 16:28 苦逼的猿人 阅读(282) 评论(0) 推荐(0) 编辑
摘要:布局手机网页的时候点击页面的标签时,出现闪烁问题,让浏览器者看起网页时有一种不流畅的感觉。 解决办法:在所有的标签里加上如下样式 /*解决点击闪烁问题*/ -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: 阅读全文
posted @ 2016-08-29 09:51 苦逼的猿人 阅读(350) 评论(0) 推荐(1) 编辑

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