[英]How can I separately retrieve the HTML that's before and after a child element inside a parent element?
[英]What's the ::before and ::after that I see in the HTML element inspector?
我們的網站在一些地方使用這樣的標記:
<header class="row">
::before
<h1 class="entry-title">Privacy Policy</h1>
::after
</header>
::before
和::after
表示什么,我該如何使用它們?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.