JSFiddle - React, Tailwind, and code Playground

by septentrium

HTML

<h1>主標可以放上你的公告欄或是主旨</h1>
<h2>副標可以放上補充說明</h2>
<h3>小標沒有限制</h3>
<ol class="word">
<li>項目一</li>
<li>項目二</li>
<li>項目三</li>
</ol>
<p>說明文</p>
<ul class="link">
<li><a href="填入你的網址" target="_blank">網址名稱</a></li>
<li class="line"><a href="填入你的網址" target="_blank">網址名稱</a></li>
<li class="line"><a href="填入你的網址" target="_blank">網址名稱</a></li>
</ul>

CSS

body {
  background: #fafafa;
  padding: 10px 20px;
}
h1, h2, h3  {
  font-weight: 600;
}
h1 {
  font-size: 20px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 16px;
  color: #4d92eb;
}
p {
  color: #888;
}
.word {
  margin-left: -20px;
}
.link {
  display: inline-flex;
  list-style-type: none;
  margin-left: -40px;
  margin-top: -40px;
  font-size: 14px;
  line-height: 14px;
}
.link ul {
  margin-bottom: -40px;
}
.link > .line::before {
  content:"";
  height: 100%;
  margin: 0 20px;
  border-right: solid 1px #cacaca;
}
a {
  color: #4d92eb;
  text-decoration: none;
  transition: 0.5s;
}
a:hover {
  color: #4079c3;
  text-decoration: none;
}