I'm using reveal.js to make a slide deck. I'm using background images on almost every slide, with text in the foreground. I'm trying to tint the images in the background so that they are more visible behind my slide text, using the gradient trick discussed here, but I'm not sure where to add this code to get it working.
Related
My website is http://snacksandsocks.com/ I have downloaded a transparent image of my logo I got off Fivver from Canva. Now when I put that image into the logo section on my Wordpress it still is showing with a white background. I think it might be the theme from all the research I've done. I was just wondering if I could use CSS to get rid of it?
Because you image is a jpeg image which does not support transparency. Try to save it in png.
The default background is white. I am wondering if it is possible to set it to transparent. So I can use the other control(a video player, for example) as a background. The cefsharp is only used to display some text.
I am using cefSharp.WinForms, Version=71.0.0.0
I'm looking to see if this is possible and if so how to do it. I want the user to upload an image with a white background. The image can be anything from a pair of shoes to a hat. The website will then automatically turn that white background transparent then store it. What I want to know is there a way using HTML Canvas/CSS to transform that white background to 100% transparency?
You can have a look at this answer, which explains nicely how to change colors in an image using javascript : How to change color of an image using jquery
However, you should do this using server side code, and be aware that results may vary, as just removing a color will not look nice on the edges of your object.
am using the anythingSlider wordpress plugin
does any one know how to fade the images on top of each other as at the moment it fades them to nothing.
If you mean to "cross-fade" images from one to the next, AnythingSlider isn't currently set up to do that. Mostly because the images are floating left from each other.
I guess I could work on modifying the code to allow true cross-fading, but for now this demo shows what is currently possible - fade out to black and fade in from black.
You might also consider trying out PlusSlider which is similar to AnythingSlider but does have a true image cross-fade functionality.
In my website I have an image as the navigation bar and have created hotspots to link them to different pages. The problem is since the text is a part of the image, I cannot change the style of the text on hover. Whereas I want the text/the hotspot to stand out on mouseover, so I learn the background color could be changed on mouse over. Is that possible? Is there a way to do that in CSS, using the area or maps. If Javascript is to be used, could someone help me out with it.
Is there a reason you've used a single image as the nav bar?
Instead of a single image with hotspots, I'd use an individual image for each navigation link. That way you can easily change the image (or use CSS image positioning) on hover. This is described here:
http://css-tricks.com/video-screencasts/7-three-state-menu/
along with many other places I'm sure.
I don't think it's a good idea to use neither image maps nor individual images.
Instead, use CSS sprites: a single image file, add that as a background image to the menu links, but position the background images differently. See this Line 25 tutorial for more information.