前端使用笔记

背景铺满屏幕

 body {
      background-image: url('images/xxx.jpg');
      background-repeat: no-repeat;
      background-position: center;
      background-attachment: fixed;
      background-size: cover;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
    }
原文链接:https://blog.csdn.net/adley_app/article/details/112544677

快速引入输入框、表格样式(bootstrap)

<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<style type="text/css">
		:input{
			class:"btn btn-default";
		}
	</style>
上一篇:重复输出字符串


下一篇:html和css之背景样式详解