The description of this effect is not clear, so just go to the picture. Without a picture, there is no truth.
How to achieve the form effect in the picture?
input{opacity: 0.8;}
input{opacity: 0.8;}
I addedopacity:value
<div class="d1"> <div class="d2"> <form> <input/> </form> </div></div><style> .d1{background:url(http://static.csdn.net/public/common/toolbar/images/f_icon.png)}.d2{opacity: 0.8;background:#00f;width:100%;height:200px;text-align:center;opacity:0.7;} input{background:rgba(255,255,255,200);}</style>
Use PNG image.