How to add CSS styles Styles to Elements with Particular
Attributes?
Answer / swapna
The style rule below will match all input elements that has
a type attribute with a value of "text"
Input[type="text"] {background-color: blue}
id Selector
Defining styles for HTML elements with the id selector. The
id selector is defined as a #.
The style defined below will effect the element that has an
id attribute with a value of "green? ie., id=?green?
Ex: #green {color: green}
The style rule below will match the p element that has an
id with a value of "para1? ie., <p id=?para1?>
p#para1
{
text-align: center;
color: red
}
Do NOT start a class name or ID name with a number
| Is This Answer Correct ? | 3 Yes | 0 No |
SAP Design Studio live classes by Exports
Is singleton bean thread safe?
What according to you will be the next best thing in UI UX Design?
Can we make the reference instance non static?
What is lexi design pattern?
Which design pattern is mostly used in net?
What is clean architecture?
What is universal design?
Can you explain singleton pattern?
Identify three types of systems or system upgrades that may be ideal candidates for a Waterfall Development Model strategy.
what are the creational design patterns
Show us an example of a design that can solve a business problem.