蘇阿細
首页 统计 关于
1 Sealos3.0离线部署K8s集群 1,085 阅读 2 类的加载 741 阅读 3 Spring Cloud OAuth2.0 726 阅读 4 SpringBoot自动装配原理 691 阅读 5 集合不安全问题 586 阅读
笔记
Java
多线程 注解和反射 JVM JUC 设计模式 Mybatis Spring SpringMVC SpringBoot MyBatis-Plus Elastic Search
微服务
Dubbo Zookeeper SpringCloud Nacos Sentinel
数据库
MySQL Oracle PostgreSQL Redis MongoDB
工作流
Activiti7 Camunda
消息队列
RabbitMQ
前端
HTML5 CSS CSS3 JavaScript jQuery Vue2 Vue3
Linux
容器
Docker Kubernetes
Python
FastApi
登录
标签搜索
  • Java
  • CSS
  • mysql
  • RabbitMQ
  • JavaScript
  • Redis
  • JVM
  • Mybatis-Plus
  • Camunda
  • 多线程
  • CSS3
  • Python
  • Spring Cloud
  • 注解和反射
  • Activiti
  • 工作流
  • SpringBoot
  • Mybatis
  • Spring
  • html5
侧边栏壁纸
博主昵称
蘇阿細

  • 累计撰写 389 篇文章
  • 累计收到 4 条评论
  • 首页
  • 栏目
    • 笔记
    • Java
      • 多线程
      • 注解和反射
      • JVM
      • JUC
      • 设计模式
      • Mybatis
      • Spring
      • SpringMVC
      • SpringBoot
      • MyBatis-Plus
      • Elastic Search
    • 微服务
      • Dubbo
      • Zookeeper
      • SpringCloud
      • Nacos
      • Sentinel
    • 数据库
      • MySQL
      • Oracle
      • PostgreSQL
      • Redis
      • MongoDB
    • 工作流
      • Activiti7
      • Camunda
    • 消息队列
      • RabbitMQ
    • 前端
      • HTML5
      • CSS
      • CSS3
      • JavaScript
      • jQuery
      • Vue2
      • Vue3
    • Linux
    • 容器
      • Docker
      • Kubernetes
    • Python
      • FastApi
  • 页面
    • 统计
    • 关于
搜索到 1 篇与 的结果
  • 选择器的优先级 2024-03-05
    选择器的优先级 <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>选择器优先级</title> <style> /* 行内 > id选择器 > 类选择器 > 元素选择器 > 通配选择器 */ #sunxiaochuan { color: blue; } .slogan { color: yellow; } h2 { color: red; } * { color: green; } </style> </head> <body> <h2 id="sunxiaochuan" class="slogan" style="color: blueviolet;">孙笑川</h2> </body> </html><!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>选择器优先级</title> <style> /* 权重计算:(a,b,c) */ /* a:ID选择器的个数 b:类、伪类、属性 选择器的个数 c:元素、伪元素 选择器的个数 注:行内样式权重大于所有选择器 !important 的权重大于行内样式,大于所有选择器,权重最高 */ #test { color: purple; } /* (1,0,0) */ #jialidun { color: orange; } /* (0,2,1) 从左到右依次比较大小,当前位胜出后,后面的不再对比 */ .container span.slogan { color: red; } /* (0,1,3) */ div>p>span:nth-child(1) { color: green; } .slogan { color: blue !important; } </style> </head> <body> <div class="container" id="test"> <p> <span id="jialidun" class="slogan">家里蹲大学</span> <span>欢迎新同学</span> </p> </div> </body> </html>
    • 2024年03月05日
    • 20 阅读
    • 0 评论
    • 0 点赞
博主栏壁纸
博主头像 蘇阿細

389 文章数
4 评论量
标签
舔狗日记
2019 - 2025 © suaxi
已运行 00 天
访问量:311097  加载时间:15ms