Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In addition to hover pseudo-class, there are pseudo classes like focus, ink and visited. For pseudko classes and elements refer to h udo_classes.asp In this

image text in transcribed

image text in transcribed

In addition to hover pseudo-class, there are pseudo classes like focus, ink and visited. For pseudko classes and elements refer to h udo_classes.asp In this exercise we wil work on focus pseudo class. The syntax for writing pseudo class focus is the same as writing hover pseudo class. Once again we use :(colon) rather than (period). For example to write focus rules for input tag we write input focus f rules, just like input hover (rules...for hover Write CSS rules to generate aform such as the one below. When the following text boxes and buttons are focused, their background color willchange to yellow, when they are hovered, their background color wil change to cyan Last Name: First Name: E-mail Address: SubmitClear The figure shows belowindicates lastname text field was hovered. The backgroundcolor changed tocyan, background set to red (not show here because we don't have anything in the box yet), and bax size enlarged as wel Last Name First Name E-mail Address SubmitClear The following screen shot displayed as when last name field was focused (clicked by user). The backgrounod color changed to yellow and the foreground color is blue note the text box is still enlarged Last Name First Name: E-mail Address: SubmitClear

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago