Can you show me how to add a transition to top nav elements using Sublime Text Editor? Create style rules for a:hover and a:focus pseudo-elements that change the look of the nav bar. Choose background color, color, and font size. Create style rules for the a:active pseudo-elements. Choose the value of the margin-top, which should be 6px or more. Then, add a box shadow. Create the following transitions for for the <a> elements: change the background color, change the border-color, change the top, change the box-shadow, and set a reasonable duration for these changes(between .1 and .5s). You can optionally add transition-timing-function or a transition delay.

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter8: Enhancing A Website With Multimedia: Working With Sound, Video, And Animation
Section: Chapter Questions
Problem 13CP3
icon
Related questions
Question

Can you show me how to add a transition to top nav elements using Sublime Text Editor? Create style rules for a:hover and a:focus pseudo-elements that change the look of the nav bar. Choose background color, color, and font size. Create style rules for the a:active pseudo-elements. Choose the value of the margin-top, which should be 6px or more. Then, add a box shadow. Create the following transitions for for the <a> elements: change the background color, change the border-color, change the top, change the box-shadow, and set a reasonable duration for these changes(between .1 and .5s). You can optionally add transition-timing-function or a transition delay. 

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning