瀏覽代碼

added header

master
skolar 4 年之前
父節點
當前提交
b30a44f5d5
共有 2 個檔案被更改,包括 31 行新增2 行删除
  1. +19
    -0
      css/style.css
  2. +12
    -2
      index.html

+ 19
- 0
css/style.css 查看文件

@@ -8,7 +8,26 @@
src: url('../fonts/Lato/Lato-Regular.ttf'); src: url('../fonts/Lato/Lato-Regular.ttf');
} }


h1, h2, h3, h4, h5, h6 {
margin : 0;
}

body { body {
font-family: Lato; font-family: Lato;
font-weight: 700; font-weight: 700;
}

header{
text-align: center;
}

.tabs-holder {
text-align: center;
padding: 10px;
}

.tab {
border-radius : 4px;
background-color : green;
color : white;
} }

+ 12
- 2
index.html 查看文件

@@ -6,9 +6,19 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Job portal</title> <title>Job portal</title>


<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="./css/normalize.css">
<link rel="stylesheet" href="./css/style.css">
</head> </head>
<body> <body>
<header>
<h1>Work With Us</h1>
<h4>Totally we have 11 job openings</h4>
</header>

<div class="tabs-holder">
<section class="tab">Employment</section>
</div>

</body> </body>
</html> </html>

Loading…
取消
儲存