AJZ Posted March 25, 2022 Share Posted March 25, 2022 Site URL: http://www.made4healing.com Hello, I successfully used code from this post: It works great. The only trick is that it undoes the inner shadow css. .grid-image-inner-wrapper:before { box-shadow: inset 3px 3px 12px rgba(0,0,0,.1)!important; transition: all .2s linear; } Is it possible to add an inner shadow while still using this code? /* Portfolio hover */ .portfolio-text { position: absolute !important; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; text-align: center; z-index: 10000; opacity: 0; } a.grid-item { position: relative; } .grid-item:hover .portfolio-text { opacity: 1; } .grid-image-inner-wrapper:after { content: ""; background-color: rgba(0,0,0,0.5); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; opacity: 0; } .portfolio-text * { color: white !important; } .grid-item:hover .grid-image-inner-wrapper:after { opacity: 1; } If you can help, thank you in advance!!! Link to comment
tuanphan Posted March 26, 2022 Share Posted March 26, 2022 Hi. What is access password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment