DEV Community

Discussion on: CSS - Keep it simple! 3 core concepts for a professional look

Collapse
 
theague profile image
Kody James Ague • Edited

On mobile when I touch the box it turns light blue, the light blue box does not have rounded corners to match the original box. Is it possible to match these up?

Collapse
 
eaich profile image
Eddie

Kody, I'm not sure how to do that actually. I believe that behavior specifically is controlled by the CSS property webkit-tap-highlight-color. It became activated because the container in the examples above have cursor: pointer; attribute. I'm not sure if that attribute has any related ones that control border-radius.

Collapse
 
theague profile image
Kody James Ague

Ok was just curious if it was possible. Might do a little research later with the info you provided so far and see what can possibly be done. 👍🏻👍🏻