今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Project: Styling links
(light upbeat music) - [Instructor] In this project update, we'll be updating various link styles starting with the default blue text link. This can be added under the global section. Since these styles are general styles, that will apply to all the links on the page. I'll also add a small comment just to mark this section as link styles. Let's use the A selector to change the link color. Add the curly brackets, and then we'll use the color property and a value. I'll use the green hex code from my palette. Next, let's add a dynamic effect to our links using the hover pseudo class. This changes the style when the user hovers over the link with their mouse. We'll need to add another declaration block for this style. Remember, pseudo classes are keywords added to a selector and since we want this to be a hover effect on the link, we'll start with a, then add a colon, followed by hover with no spaces. We'll add the curly…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
CSS specifications and the W3C3 分钟 12 秒
-
(已锁定)
CSS syntax and terminology4 分钟 2 秒
-
(已锁定)
CSS values and units3 分钟 33 秒
-
(已锁定)
The color property and values4 分钟 31 秒
-
(已锁定)
Creating a color palette1 分钟 52 秒
-
(已锁定)
Type and universal selectors3 分钟 16 秒
-
(已锁定)
ID selectors2 分钟 34 秒
-
(已锁定)
Class selectors3 分钟 17 秒
-
(已锁定)
Descendant combinators and selector lists2 分钟 56 秒
-
(已锁定)
The background property4 分钟 39 秒
-
(已锁定)
Project: Prepping the CSS file4 分钟 5 秒
-
(已锁定)
Project: Adding background styles7 分钟 39 秒
-
(已锁定)
Pseudo-classes and pseudo-elements4 分钟 30 秒
-
(已锁定)
Inheritance and the cascade2 分钟 20 秒
-
(已锁定)
Specificity3 分钟 45 秒
-
(已锁定)
Project: Styling links5 分钟 23 秒
-
-
-
-
-
-
-