图片全屏背景 代码实例

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>图片展示</title>
    <meta name="Keywords" content="关键词1,关键词2">
    <meta name="description" content="网页的描述内容">
    <!--响应式mate标签-->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <base target="_blank"/>

    <style>
    </style>
</head>
<body>
    <div id="loginbg" style="overflow: hidden; position: absolute; top: 0px;
    left: 0px; width: 100%; height: 100%; z-index: -1; display: block;
     background-image: url('77.jpg'); background-size: cover;">

    </div>

<script src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript">




</script>
</body>


</html>

 

效果图:

 

IT技术和行业交流群 417691667

posted @ 2016-08-04 22:09  悬崖边上  阅读(293)  评论(0编辑  收藏  举报