当前位置:网站首页>: last child does not take effect
: last child does not take effect
2022-07-02 21:48:00 【Small white eye】
structure :
<div class="titleContent">
<div> Navigation click bar </div>
<p>{
{ AthenaData.titleLabel }}</p>
<h1> Card power awakening Wait for you to fight </h1>
<p> Flop tickets , Win a good gift !</p>
<div class="ticketInfo">
My ticket
<span> Preliminaries :1</span>
<span> The rematch :0</span>
<span> finals :0</span>
<button> Start fighting immediately </button>
</div>
</div>Want to give <p> Flop tickets , Win a good gift !</p> The words are bold :
style :
p:last-child{
font-weight: 700;
}
It doesn't work .
terms of settlement :
p:last-of-type{
font-weight: 700;
}summary :
p:first-of-type : First appeared in the same level structure P Elements ( There is no need to be first in the structure )
p:last-of-type : The last in the peer structure P Elements ( There is no need to be the last but one in the structure )
p:first-child : The first under the parent element P Elements ( Must be first in the structure )
p:last-child : Parent element (body With the exception of ) The last one P Elements ( Must be the last but one in the structure )
边栏推荐
- China microporous membrane filtration market trend report, technological innovation and market forecast
- China plastic bottle and container market trend report, technological innovation and market forecast
- Research Report on market supply and demand and strategy of China's plastic trunking industry
- MySQL learning record (9)
- Research Report on market supply and demand and strategy of Chinese garden equipment industry
- Huawei Hongmeng watch achieves fireworks display effect on New Year's Eve
- 基本IO接口技术——微机第七章笔记
- Etcd Raft 协议
- [zero foundation I] Navicat download link
- [use of pointer and pointer and array]
猜你喜欢
![[zero foundation I] Navicat download link](/img/23/e7808884152eeaf186fe756d6adac6.png)
[zero foundation I] Navicat download link

D4: unpaired image defogging, self enhancement method based on density and depth decomposition (CVPR 2022)

Etcd Raft 协议

MySQL learning record (2)

treevalue——Master Nested Data Like Tensor

发现你看不到的物体!南开&武大&ETH提出用于伪装目标检测SINet,代码已开源!...

Etcd raft protocol

Find objects you can't see! Nankai & Wuhan University & eth proposed sinet for camouflage target detection, and the code has been open source
![[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)](/img/45/735431f59a84e9554225a72a551ab8.jpg)
[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)

Basic IO interface technology - microcomputer Chapter 7 Notes
随机推荐
Cloud computing technology [1]
D4: unpaired image defogging, self enhancement method based on density and depth decomposition (CVPR 2022)
Unexpectedly, there are such sand sculpture code comments! I laughed
Construction and maintenance of business website [3]
MySQL learning record (3)
ArrayList分析2 :Itr、ListIterator以及SubList中的坑
Basic IO interface technology - microcomputer Chapter 7 Notes
Today, I met a Alipay and took out 35K. It's really sandpaper to wipe my ass. it's a show for me
Detailed explanation of OSI seven layer model
Construction and maintenance of business websites [9]
Construction and maintenance of business website [1]
读博士吧,研究奶牛的那种!鲁汶大学 Livestock Technology 组博士招生,牛奶质量监测...
基本IO接口技术——微机第七章笔记
【剑指 Offer】56 - I. 数组中数字出现的次数
pyqt圖片解碼 編碼後加載圖片
tinymce可视化编辑器增加百度地图插件
VictoriaMetrics 简介
Research Report on market supply and demand and strategy of China's Plastic Geogrid industry
PIP audit: a powerful security vulnerability scanning tool
China's Micro SD market trend report, technology dynamic innovation and market forecast