当前位置:网站首页>Understanding of pseudo classes
Understanding of pseudo classes
2022-06-25 23:45:00 【Delusion_ wangx】
Pseudo classes have been learned for some time , But I have been confused , Today I have some understanding .
CSS Pseudo class is a special effect used to add some selectors .
Use it in the tag name / After class name + The colon + Pseudo class name + Pseudo class
such as a:hover {color:#FF00FF;} /* Mouse over link */
Commonly used :
a:link {
color:#FF0000;} /* Links not visited */
a:visited {
color:#00FF00;} /* Links visited */
a:hover {
color:#FF00FF;} /* Mouse over link */
a:active {
color:#0000FF;} /* Selected links */
p:before
{
content:"aaaaa";
}
/* Add... Before the paragraph aaaaa*/
. Class name :after{
content: "bbbbbb";
}
/* Generate bbbbbb As the last element */
边栏推荐
猜你喜欢
随机推荐
后序线索二叉树
Screen recording to GIF is an easy-to-use gadget, screentogif, which is free and easy to use!
Visual studio code create minimal web API (asp.net core)
Anaconda一文入门笔记
聊聊swoole或者php cli 进程如何热重启
达梦数据库修改字段信息采坑记
使用百度地图API在地图中设置一个覆盖物(InfoWindow),可自定义窗口内容
php进程间传递文件描述符
util. Collection and encapsulation of JS tool functions
权限设计=功能权限+数据权限
OpenResty篇01-入门简介和安装配置
Ad20 learning notes I
C2. k-LCM (hard version)-Codeforces Round #708 (Div. 2)
发送邮件工具类
Bi-sql stored procedure (I)
Classic image segmentation network: UNET supports libtorch deployment reasoning [with code]
Style setting when there is a separator in the qcombobox drop-down menu
C. Planar Reflections-CodeCraft-21 and Codeforces Round #711 (Div. 2)
格式化编号,不够位数的补0,例如1:0001,25:0025
php中使用google protobuf协议环境配置









