宗策

导航

2020年4月28日 #

伪类选择器

摘要: 伪类选择器- 选择元素的状态1. 未访问状态 link2. 访问过状态 visited3. 鼠标悬停状态 hover4. 点击状态 active <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here 阅读全文

posted @ 2020-04-28 17:41 宗策 阅读(175) 评论(0) 推荐(0)

CSS选择器的应用整合

摘要: 脚本: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <style type="text/css"> /* 1. 修改b字体为橙色 2. 修改s1、s2、div3字体为绿色 阅读全文

posted @ 2020-04-28 17:23 宗策 阅读(176) 评论(0) 推荐(0)