Question: Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts. Suppose you need to design a website. In your website you will design a separate CSS. Design a class named "decoration" to implement following tasks in CSS for a div tag.

a) Setting text color to yellow.
b) Transforming the text into lowercase.
c) Setting the font as "calibri".
d) Setting a dashed border of 30 pixels with red color.
e) Setting the top and right margin to 10 pixels.
f) Setting color of a link to green when mouse pointer is over it.

Step by Step Solution

3.36 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

CSS decoration color yellow Setting text color to yellow texttransform lowercase Transformi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!