Computer Science, asked by pranjalkeshari7234, 1 year ago

In css to define style for a unique element then which css selector should be used?

Answers

Answered by sethiparamjitsingh
0

Answer:

For a unique element identification you have to use id selector.

Here's an example:-

<div id="tooltip">Unique Element</div>

#tooltip

{

font-weight:bold;

color:#888;

}

Answered by janeeshkumar7bm00987
0

Answer:

For a unique element identification you have to use id selector.

Here's an example:-

<div id="tooltip">Unique Element</div>

#tooltip

{

font-weight:bold;

color:#888;

}

Explanation:

Similar questions