我的链接无法点击我的网站louisjr.uk
<!DOCTYPE html >
<html>
<head>
<title>title</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<div id="container">
<div id="titlew">
<a href="welcome.html"><p> Welcome to my site!</p></a>
</div>
<video muted loop autoplay width="100%" height="100%">
<source src="http://static.videezy.com/system/resources/previews/000/000/094/original/FroggerHighway.mp4" type="video/mp4"/>
</video>
</div>
</body>
</html>
我知道我的css很笨拙,但请帮忙:)。
我需要这个网站快速运行xD 所有的帮助非常感谢:)
答案 0 :(得分:2)
向z-index
元素添加titlew
,如下所示:
#titlew {
color: white;
position: absolute;
font-size: 120px;
width: 1900px;
height: 20%;
text-align: center;
margin-left: auto;
margin-right: auto;
z-index: 1;
}