当前位置:网站首页>: 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's log saw blade market trend report, technological innovation and market forecast
- Analysis of enterprise financial statements [1]
- [shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)
- [Jianzhi offer] 57 And are two numbers of S
- Golang string segmentation
- Research Report on micro gripper industry - market status analysis and development prospect prediction
- 暑期第一周总结
- Jar package startup failed -mysql modify the default port number / set password free enter
- Research Report on market supply and demand and strategy of microplate instrument industry in China
- Browser - clean up the cache of JS in the page
猜你喜欢

System (hierarchical) clustering method and SPSS implementation
![[CV] Wu Enda machine learning course notes | Chapter 12](/img/c8/9127683b6c101db963edf752ffda86.jpg)
[CV] Wu Enda machine learning course notes | Chapter 12

pip安装whl文件报错:ERROR: ... is not a supported wheel on this platform

Etcd Raft 协议

GEE:(二)对影像进行重采样

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

地理探测器原理介绍

【零基础一】Navicat下载链接

tinymce可视化编辑器增加百度地图插件

如何防止你的 jar 被反编译?
随机推荐
Gbase 8s database basic syntax
Physical layer cables and equipment
Pip install whl file Error: Error: … Ce n'est pas une roue supportée sur cette plateforme
Five message formats of OSPF
Secondary development of ANSYS APDL: post processing uses command flow to analyze the result file
Browser - clean up the cache of JS in the page
Structure array, pointer and function and application cases
Research Report on market supply and demand and strategy of China's atomic spectrometer industry
Cloud computing technology [2]
Blue Bridge Cup Eliminate last one (bit operation, code completion)
MySQL learning record (7)
Off chip ADC commissioning record
pip安装whl文件报错:ERROR: ... is not a supported wheel on this platform
Chinese Indian seasoning market trend report, technical dynamic innovation and market forecast
~91 rotation
Micro SD Card Industry Research Report - market status analysis and development prospect forecast
Construction and maintenance of business websites [8]
CVPR论文解读 | 弱监督的高保真服饰模特生成
一周生活
Analysis of enterprise financial statements [4]