我想弄清楚如何測試我的代碼如何工作,但我似乎無法弄清楚爲什麼他們不會鏈接。他們在同一個文件夾中。我也正在嘗試將Facebook像素和分析添加到此頁面。我會將該代碼嵌入到我的HTML文件中嗎?有麻煩我的樣式表與HTML文件集成
由於提前
這裏是我的代碼
的Html
<!DOCTYPE html>
<head>
<title>Full Screen Landing Page</title>
<link href rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<section class="intro">
<div class="inner">
<div class="content">
<h1>Welcome To The Tribe</h1>
<a class="btn" href="#">Get Started</a>
</div>
</div>
</section>
</body>
</html>
@import url('https//fonts.googleapis.com/css?family=Raleway');
@import url('https//fonts.googleapis.com/css?family=Oswald');
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
.intro{
height: 100%;
width: 100%;
margin: auto;
background: url() no-repeat 50% 50%;
display: table;
top: 0;
background-size: cover;
}
.intro .inner{
display: table-cell;
vertical-align: middle;
width: 100%;
max-width:none;
}
您添加HREF與出價值 – bhv