TAILIEUCHUNG - Speaking in styles- P3

Speaking in styles- P3: I want you to think of a shape. It can be any shape you want a circle, a square, a triangle, an eight-pointed star, or an ameboid glob-but keep it to a single continuous shape. I want you to hold that shape in your mind, or, if you need to, scratch it out on a piece of paper (or, if you are really far gone) on a computer. | CSS GRAMMAR SYNTAX Styles In Context continued Styles for Siblings If elements are next to each other not nested inside of each other they are called adjacent or sibling selectors. You can set a style based on an element s sibling. For example let s say you want any citation that s next to emphasized text to be red If a citation is next to emphasized text its text color is red. em cite color red If we applied this to the following HTML em Quotes em from cite Ihrough theLooking-Glass cite The words Thorough the Looking-Glass would be red because the em and cite tags are next to each other despite the intervening text . However with the following HTML em Quotes em strong from strong cite Ihrough the Looking-Glass cite The words Through the Looking-Glass would not get the red styling because the strong tag is in the way. Please purchase PDF Split-Merge on to remove this water If a citation is directly next to emphasized text its color is red. em cite color red Plus Sign J em Quotes em from cite Through the Looking-Glass cite em Quotes em from cite Through the Looking- Glass cite em cite color red se purchase PDF Split-Merge on to remove this watermark. CSS GRAMMAR SYNTAX Styles for Special Cases Although primarily intended to add styles to particular elements created using HTML tags there are several cases where we can use CSS to style content on the page that is not specifically set off by HTML tags or to create a dynamic style in reaction to something that your Web site visitor is doing on the screen. These are known as pseudo-elements and pseudo-classes Link pseudo-classes Used to style hypertext links. Although primarily associated with color you can actually use any CSS property to set off links and provide user feedback during interaction. Dynamic pseudo-classes Used to style any element on the screen depending on how the user is interacting with it. Pseudo-elements Used to style the first letter or first line in a block of text.

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.