Highlighted

hover [How to control the extent of hover highlighting?]

Engaged ,
Jul 16, 2019

Copy link to clipboard

Copied

Hi,

Q1.

Upon hover, the yellow rectangle becomes too wide.

How can I narrow it?

Q2.

Upon hover, the heights of the yellow rectangles become different.

How can I make them identical?

Global Invisible Hand

Hosun Kang

Q_Dw_41_hover.png

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

The colour change is aimed at the 'h3' selector. The 'h3' element is a block level element that occupies the full width of the container. An 'a' element is an inline level element which occupies the space that is required for the content. It would be bettr to select the 'a' elemnt as the selector.

Views

88

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

hover [How to control the extent of hover highlighting?]

Engaged ,
Jul 16, 2019

Copy link to clipboard

Copied

Hi,

Q1.

Upon hover, the yellow rectangle becomes too wide.

How can I narrow it?

Q2.

Upon hover, the heights of the yellow rectangles become different.

How can I make them identical?

Global Invisible Hand

Hosun Kang

Q_Dw_41_hover.png

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

The colour change is aimed at the 'h3' selector. The 'h3' element is a block level element that occupies the full width of the container. An 'a' element is an inline level element which occupies the space that is required for the content. It would be bettr to select the 'a' elemnt as the selector.

Views

89

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 16, 2019 0
Adobe Community Professional ,
Jul 16, 2019

Copy link to clipboard

Copied

The colour change is aimed at the 'h3' selector. The 'h3' element is a block level element that occupies the full width of the container. An 'a' element is an inline level element which occupies the space that is required for the content. It would be bettr to select the 'a' elemnt as the selector.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 16, 2019 2