Hi I'm designing a form (HTML / CSS / JS) that pop's over the content when the user wants to subscribe or to login. The whole form background is solid opaque color but I want the inputs to have a transparent background so we can see the content behind the form through it. I don't have any problem setting the inputs transparent but I have no idea of how I can make them "pass through" their parent background color. I begin to think that is impossible with only CSS. I can share code but it's more like a generic question. Thanks


A completely different solution would be to use an
<svg>, or even a.png(though that would be an extra http request).Then use css to set:
position: absolute;on everything within the background divtop: 0;left: 0;so it covers the container exactlyThis way everything under the inputs will be transparent and whatever the background is will shine though.
Support for svgs is also excellent, you have to go back to IE8 for there to be a problem.