我在网站上添加了背景,但是背景图像没有覆盖菜单的左侧和右侧,我认为这是因为菜单边框被扩展了,所以我添加了彩色边框以查看是否为真但是菜单的边框仅在菜单周围,所以我很困惑为什么背景图片没有显示
* {
margin: 0;
padding: 0;
}
body {
width: 100%;
height: 100%;
background: url(https://placekitten.com/200/300);
background-position: center;
background-repeat: no-repeat;
display: block;
background-size: cover;
background-attachment: fixed;
}
p {
font-family: 'Karla', sans-serif;
margin: 2.5%;
padding:0;
}
.title {
text-align: center;
}
.container {
margin: 0 auto;
background: #f9f9f9;
font-size: 24px;
object-fit: cover;
}
.parallax {
background: url('https://placekitten.com/400/300') no-repeat center;
background-size: cover;
background-attachment: fixed;
height: 400px;
min-height: 400px;
z-index:-1;
}
.b1{
text-align: center;
}
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
position: absolute;
top: 82%;
left: 42.5%;
}
.pic-1{
height:280px;
width:420px;
float: left;
padding-left: 100px;
}
.pic-2{
height:280px;
width:420px;
float: right;
padding-right: 100px;
}
#Header-1 {
font-family: 'Lobster', cursive;
font-size: 35px;
}
ul {
margin: 0 auto;
width: 350px;
border: 2px solid red;
overflow: hidden;
}
ul li{
list-style: none;
display: inline-block;
float: left;
line-height: 100px;
}
ul li a{
display: block;
text-decoration: none;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
color: #1e1e1e;
padding:0px 20px;
}
#nav {
width:100%;
height:80px;
background-color:#fff;
}
<html>
<head>
<title>Croydon Cycles</title>
<link rel="shortcut icon" type="image/png" href="images/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">
<link href="style.css" rel= "stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="parallax.min.js"></script>
</head>
<body background="background.jpg" z-index="1">
<div class="title">
<h1>Croydon Cycles</h1>
</div>
<div class="menu">
<nav id="nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="shop.html">Shop</a></li>
<li><a href="location.html">Location</a></li>
</ul>
</nav>
</div>
<div class="container">
<div class="parallax" data-parallax="scroll" data-z-index="-1">
<div class="b1">
<a href="shop.html">
<input type="button" class="button" value="view all bikes" >
</a>
</div>
</div>
</div>
<p>The Croydon Cycles was founded in 2001 in order to promote and encourage
all areas of cyclesports. The club has a rich history of racing both on the
road and track. We also have an active social side and regular training trips away.
Croydon Cycles is located in mostly around Thornton heath pond,
however we still are active around all of Croydon.</p>
<div class="profiles">
<p id="Header-1">Here are some of the members of Croydon Cycles:</p>
<div class="pic-1">
<img src="images/profile-1.jpg" alt="Proffesional biker" height="280px" width="420px">
<p>The Croydon Cycles was founded in 2001 in order to promote and encourage
all areas of cyclesports. The club has a rich history of racing both on the
road and track. We also have an active social side and regular training trips away.
Croydon Cycles is located in mostly around Thornton heath pond,
however we still are active around all of Croydon.</p>
</div>
<div class="pic-2">
<img src="images/profile-2.jpg" alt="Proffesional biker" height="280px" width="420px">
<p>The Croydon Cycles was founded in 2001 in order to promote and encourage
all areas of cyclesports. The club has a rich history of racing both on the
road and track. We also have an active social side and regular training trips away.
Croydon Cycles is located in mostly around Thornton heath pond,
however we still are active around all of Croydon.</p>
</div>
</div>
</body>
</html>
答案 0 :(得分:1)
有2个问题:
1)background: url(images/background.jpg);
缺少单引号
2)background-color:#fff;
在#nav
* {
margin: 0;
padding: 0;
}
body {
width: 100%;
height: 100%;
background: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAQEBUSEBIPEBIQDw8QDw8PDw8QDxAQFRUWFhUVFRUYHiggGBolGxUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OFxAQFysdHR0tLS0tLS0tLS0tLS0tKy0tLS0tLS0rLSstLS0tLS0tLS0rLS0rLS0tL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U7jh0OUWnbejXH0qX+rnBt+1NFrfaoOZhmDFMudQwwO24g7DsII5UisK14tw73z65yMdsaNZ2lDbWZW1O+q2gBPQgHmN8fbdraML/TWYIzvk08VttYkHWTHNcA4+DDbyORDLG2DDW5MKEEEXEEY1k47a0Wl1qmrhSp9Ui6nUSbS+09HU61nbWevT2SSFtMgCaXHKvwwBivTtLCt4k1nrWZotKZ2ZuXivd8vOT6L+UmiumsLazGTKSaqcwaZw37Z0VsbazqNhPyiGHoaO4auqSKe1ZtivLrhcaXSg2d24/d8/PW/bOiqQTb2YP4WUkN5fSP0X8p9FLBTbWesagMtaNQVoRkaA/d0JRZXovovdu/VN68u7yu3RNCDQ+qdhpQ8DgfOae3NGGNql5pnj9gzT2topH6WzIIrQ1II6QslGKy0slYUdQeIrTeMxENoPdNR3XvHJvszm7R0YezbWdMdVi1ORpURS9uaJUj0yAg0ZSTUZ8DcRI8H9iJKACmpTJgSvI18Jk09v6JT9NZ40zpX7E6OSFqy+bubuD/AAEk0M/9Q28fCdOhPFbXzHrriP3v9MbZ/H4zJ0hbz8/32+Mf2cfzS+6f6jOnSvxP6vszf/DAtRnsaz8xOnSVJO1v0S/tE855RXA/rLd1nTpc8Ivl6NnZgrfndFKtK0J9kZ7vp4zp0Rp+yVoH/bsetmhnrkXp73+gzp0rV5LT4Bo+J99viPhFdp+wnvp5ibOink74ej2eKrU5CnjLrEeR+M2dJNlp7PIzyNFPqj3fOnynTo4FNgLl98fGM0sX8p06IPGtmLWtn+0P9Dy63Nx4fOZOjpT9JT2eFrajxadpGI5ec6dAPM7Os6K9Cb2ZjfmSTLNHsRSt+AxNcg3xpynTo75KeEulp6wG8+RmaIKW1n+0P/zedOhBXuFauBvJ8PrDX2R7q+QnTpCyj8DPO/zbT31/oSZOjIDj1f8A2f7p06dCG//Z');
background-position: center;
background-repeat: no-repeat;
display: block;
background-size: cover;
background-attachment: fixed;
}
p {
font-family: 'Karla', sans-serif;
margin: 2.5%;
padding:0;
}
.title {
text-align: center;
}
.container {
margin: 0 auto;
background: #f9f9f9;
font-size: 24px;
object-fit: cover;
}
.parallax {
background: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAQEBUSEBIPEBIQDw8QDw8PDw8QDxAQFRUWFhUVFRUYHiggGBolGxUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OFxAQFysdHR0tLS0tLS0tLS0tLS0tKy0tLS0tLS0rLSstLS0tLS0tLS0rLS0rLS0tLS0tLSstLS0tLf/AABEIALUBFwMBIgACEQEDEQH/xAAbAAADAQEBAQEAAAAAAAAAAAACAwQBAAUHBv/EAEQQAAIBAQQHBAgBCgQHAAAAAAECABEDITFBBBJRYXGBkQVSobETIjJywdHh8EIGIzNic4KSorLxFUPC0hQWJFNjg7P/xAAaAQADAQEBAQAAAAAAAAAAAAAAAQIDBQQG/8QAIxEBAQABAwQDAQEBAAAAAAAAAAERAgNRExQxUgQhQRJxYf/aAAwDAQACEQMRAD8A/dkQCIyYRNHjsKIgkRpEEiNNhJExhGEQSJUqbCSsAiOIgESmVhBWARHkRZEqVnYQVgFZQRAIl5RYQyxTLKSItllSosTMsUwlLLFOsuVCdhFMJQwiyJcJOyxbLKWEWyxnlKyxZWUssWyyjlTssWVlBEBlguVOyxbLKGEWRBUqcrMKx5WCwiwuaiNSZqRtJhEWFZKKxliLxxmGN0UAsATQVxiGX6fsjsxLZalaUOFMeM96y0RbPBAN4AFJ5fY/a9lZDUDaxuvpQT3DpQa/1T1ng3br/r78PXszR/P/AEVlbbrts2JtLeguHhOmP85b/wB4enBIhTpbPBZEEiMIgkQTYURBIjSIBEaLCyIBEaRAIlZTYUwiyI8iARKZWEEQSI0iARKlZ2FNFmOIglZcRYQyxTLKCIDCVKzsSusUwlTLFMk0lQmIiyJQVgESsknYRbLKGWLKxmmZYsiUssUyylSkMIsiPYRbCNUpJEwiGRMIgrJZWAwjTAaJUpJEykYRMAiwrJ2jWmqQRcQa1n6Ps3tK0ZqNqm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0P9Dy63Nx4fOZOjpT9JT2eFrajxadpGI5ec6dAPM7Os6K9Cb2ZjfmSTLNHsRSt+AxNcg3xpynTo75KeEulp6wG8+RmaIKW1n+0P/zedOhBXuFauBvJ8PrDX2R7q+QnTpCyj8DPO/zbT31/oSZOjIDj1f8A2f7p06dCG//Z') no-repeat center;
background-size: cover;
background-attachment: fixed;
height: 400px;
min-height: 400px;
z-index:-1;
}
.b1{
text-align: center;
}
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
position: absolute;
top: 82%;
left: 42.5%;
}
.pic-1{
height:280px;
width:420px;
float: left;
padding-left: 100px;
}
.pic-2{
height:280px;
width:420px;
float: right;
padding-right: 100px;
}
#Header-1 {
font-family: 'Lobster', cursive;
font-size: 35px;
}
ul {
margin: 0 auto;
width: 350px;
// border: 2px solid red;
overflow: hidden;
}
ul li{
list-style: none;
display: inline-block;
float: left;
line-height: 100px;
}
ul li a{
display: block;
text-decoration: none;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
color: #1e1e1e;
padding:0px 20px;
}
#nav {
width:100%;
height:80px;
// background-color:#fff;
}
<html>
<head>
<title>Croydon Cycles</title>
<link rel="shortcut icon" type="image/png" href="images/favicon.png">
<link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">
<link href="style.css" rel= "stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="parallax.min.js"></script>
</head>
<body background="background.jpg" z-index="1">
<div class="title">
<h1>Croydon Cycles</h1>
</div>
<div class="menu">
<nav id="nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="shop.html">Shop</a></li>
<li><a href="location.html">Location</a></li>
</ul>
</nav>
</div>
<div class="container">
<div class="parallax" data-parallax="scroll" data-z-index="-1">
<div class="b1">
<a href="shop.html">
<input type="button" class="button" value="view all bikes" >
</a>
</div>
</div>
</div>
<p>The Croydon Cycles was founded in 2001 in order to promote and encourage
all areas of cyclesports. The club has a rich history of racing both on the
road and track. We also have an active social side and regular training trips away.
Croydon Cycles is located in mostly around Thornton heath pond,
however we still are active around all of Croydon.</p>
<div class="profiles">
<p id="Header-1">Here are some of the members of Croydon Cycles:</p>
<div class="pic-1">
<img src="images/profile-1.jpg" alt="Proffesional biker" height="280px" width="420px">
<p>The Croydon Cycles was founded in 2001 in order to promote and encourage
all areas of cyclesports. The club has a rich history of racing both on the
road and track. We also have an active social side and regular training trips away.
Croydon Cycles is located in mostly around Thornton heath pond,
however we still are active around all of Croydon.</p>
</div>
<div class="pic-2">
<img src="images/profile-2.jpg" alt="Proffesional biker" height="280px" width="420px">
<p>The Croydon Cycles was founded in 2001 in order to promote and encourage
all areas of cyclesports. The club has a rich history of racing both on the
road and track. We also have an active social side and regular training trips away.
Croydon Cycles is located in mostly around Thornton heath pond,
however we still are active around all of Croydon.</p>
</div>
</div>
</body>
</html>