ffej Posted March 16, 2016 Share Posted March 16, 2016 Using eternal css. I have an all grey background-color and wanted to add a shadow around a heading for effect. Now the box around the h1 stands out. Is there a way to keep the shadow and hide the box? Ex. H1 {border-style:hidden}/*the box still shows?*/ Link to comment Share on other sites More sharing options...
dsonesuk Posted March 16, 2016 Share Posted March 16, 2016 If I understand you correctly, use span inside header element, apply display: block; give that a inner box-shadow using inset and maybe apply border-radius: to both to hide sharp corners. The other option is not use box-shadow but use elliptical gradient background. Link to comment Share on other sites More sharing options...
ffej Posted March 16, 2016 Author Share Posted March 16, 2016 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now