接上一篇“HTML01随笔” 1.使用样式: 内联样式:标签中使用style属性 内部样式:<head>使用<style type="text/css">...</style> 外部样式:使用<link rel="stylesheet" type="text/css" href="styles.cs ...
分类:
Web程序 时间:
2019-03-22 21:34:26
阅读次数:
198
CSS部分 <style type="text/css"> *{ margin: 0px auto; padding: 0px; } button{ width: 46px; height: 30px; } .box{ width: 300px; height: 400px; overflow: h ...
分类:
其他好文 时间:
2019-03-22 14:11:28
阅读次数:
110
ES6的引入方式: .vue文件中 css文件引入 js文件的引入 P.S.:传统上,引入css样式的三种方法:1.使用link来调用外部的css文件 在head放置<link rel="stylesheet" href="wcss.css" type="text/css" />来调用外部的wcss ...
分类:
Web程序 时间:
2019-03-19 18:59:44
阅读次数:
430
1,标签:<link type="text/css" rel="stylesheet" href="CSS样式文件的绝对地址"> 它只能位于HTML文档的head标签内,且必须有href属性,用于指定需要引入的CSS文件的绝对路径。 2.1:在style元素中导入CSS文件 <style type= ...
分类:
Web程序 时间:
2019-03-11 23:56:04
阅读次数:
329
效果图 需引入的文件 <link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css"> <script type="text/javascript" src="jquery-1.4.2.js"></script> <sc ...
分类:
其他好文 时间:
2019-02-25 14:58:52
阅读次数:
164
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> * { margin: 0; padding: 0; list-style: non ...
分类:
Web程序 时间:
2019-02-20 17:11:33
阅读次数:
109
<style type="text/css"> a{ text-decoration: none; color: black; } /*未访问的链接,和a{}相同并且同时存在会覆盖a{}*/ a:link{ color: darkblue; } /*鼠标移动到超链接上时*/ a:hover{ tex ...
分类:
其他好文 时间:
2019-02-12 21:52:14
阅读次数:
234
鼠标滚轮事件绑定及滚轮方向兼容demo <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } #test{ wi ...
分类:
其他好文 时间:
2019-01-28 20:12:11
阅读次数:
171
由于微信的限制,微信内置浏览器中很多链接全部被屏蔽掉,,界面显示屏蔽, <!DOCTYPE html><html><head><meta charset="utf-8" /><title>下载示例</title> <style type="text/css">#weixin-tip { positi ...
分类:
微信 时间:
2019-01-27 21:48:58
阅读次数:
529
1. 先引入intro.js 的 js和css (1) <script src="${ctx}/resources/intro/intro.js"></script> <link rel="stylesheet" type="text/css" href="${ctx}/resources/intr ...
分类:
Web程序 时间:
2019-01-27 19:04:44
阅读次数:
180