Comments (5)
Hello
Using semi transparent backgrounds will vary depending on the effect. Which effect are you using?
Ciarán
from imagehover.css.
Which effects work for transparent?
from imagehover.css.
one year later, still waiting
from imagehover.css.
The background element to the caption on hover varies from effect to effect. In most cases the following will work which covers most elements. Note in some cases the backgound image has been transformed to be no longer available or no longer front facing.
[class^="imghvr-"] figcaption,
[class*=" imghvr-"] figcaption,
[class^="imghvr-"]:before,
[class*=" imghvr-"]:before,
[class^="imghvr-"]:after,
[class*=" imghvr-"]:after {
background-color: rgba(19, 87, 150, .5) !important;
}
Where 19, 87, 150
is the RGB color and .5
is the transparency.
Ciaran
from imagehover.css.
will test it in my project when i get home, thank you :D
from imagehover.css.
Related Issues (18)
- SCSS Support HOT 5
- How about compatibility? HOT 2
- Broken link on Website HOT 1
- Links redirects to 404 page HOT 1
- Bower/NPM support HOT 3
- I can't change the Backgroundcolor HOT 3
- How can I make CSS hover effects touch-friendly? HOT 2
- Error with boostrap modal HOT 2
- Could you help add git tag? HOT 2
- Sass customization HOT 1
- Publish npm package HOT 1
- WARNING: [Bourbon] [Deprecation] HOT 3
- Can you trigger effect from a link outside the <figure class="imghvr"> element? HOT 1
- Prefixing with Bourbon is deprecated, any plans of using Autoprefixer? HOT 6
- How to add more links / buttons to figcaption section HOT 1
- Safari Mobile Not Working
- Missing class name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagehover.css.