window Resize

html 測試 左入右出

html 測試 上入下出

html 測試 單入單出

html 測試 左單右單

HTML ul li 項目標籤

HTML <ul> <ol> <li> <dl> <dt> <dd> 項目標籤

HTML <ul> <li> 標籤用來定義一個無排序的項目清單列表。
00
00
00
00
#HTML ul li 項目標籤

HTML ul li 項目標籤

HTML <ul> <ol> <li> <dl> <dt> <dd> 項目標籤

00
00
00
00
00

CSS before after

CSS content 屬性與 :before 及 :after 偽元素配合使用,來插入生成內容。before after

<style>
     .Ap::before {content: "before \21D2"; }
     .Ap::after {content: "\21D0 after"; }
     #hometown::before {   content: ''; }
</style>
<p class="Ap">123456</p>
<p id="hometown">123456</p>

123456

123456

<style>
     .Bp {counter-increment: myIndex; }
     .Bp::before {  content:counter(myIndex) "\21d2" ; }
</style>
<p class="Bp">ABC</p>
<p class="Bp">ABC</p>
<p class="Bp">ABC</p>
<p class="Bp">ABC</p>
<p class="Bp">ABC</p>

ABC

ABC

ABC

ABC

ABC

<style>
a::before {  content: attr(href); }
</style>
<a href="https://html.ug5g.com/2018/08/css-before-after.html">ug5g.com</a>
ug5g.com
<style>
      p::before {  content: open-quote;}
      p::after {  content: close-quote;}
</style>
<p>123456</p>

123456

.A3::before {
  content: url(xxx.jpg);}
.A3::after {  content: url(xxx.jpg);}
</style>
<p class="A3"> 12345 </p>

12345



00
#CSS before after#CSS content#css content:counter

CSS before after

CSS before after

00

document.getElementsByTagName

document.getElementsByTagName()

00