March 9, 20233 yr Hello everyone, At 2:44:10 of Dave Gray's excellent CSS tutorial for beginners, the intention is to make a hover effect have the same rounded corners as its container, so that they visually match. My code seems identical to his, but I cannot attain the same effect. Here is my page (JSFiddle). The li:last-child a{border-radius: 0 0 2rem 2rem;} doesn't work yet does not seem erroneous. It is intended to make the last li a:hover assume the same shape as the rounded bottom corners of the nav element, in which the list anchors are nested. Can anyone point out to me where my code is not identical to his? I apologize; I really cannot see it. Kindly, Architect P.S. The forum doesn't allow me to form a link to the YouTube video; I'll try to copy/pate it here directly rather than hyperlink a relevant piece of text in my message above: P.P.S. Forum doesn't accept my link to JSFiddle either, so I'll try to copy/paste the link here rather than hyperlink the relevant text above: https://jsfiddle.net/Architect0/28psknzc/7/ Edited March 9, 20233 yr by Architect
Create an account or sign in to comment