css - Transparent button on top of images -


i want create transparent button on top of images.

like this

enter image description here

my css skills hit limit here. how do css? should work on browsers.

lets have div container there inside image tag , underneath button tag.

<div id="box"> <img....> <div class="overlaybutton"><a href=...." class="button"><font color="#ffffff">profile blabla</font></a></div> </div> 

this should minimum code should provide assume. handle problem: need change position of box img , overlaybutton in css code. this:

.box img {   position: absolute; .. .. }  .box .overlaybutton {   position: absolute;   opacity:0.5;  //to make transparent } 

the rest should self explained. hope helped you.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -