I want my logo to float outside the overflow:hidden
div
This is my HTML Code:
.login-card{
width: 280px;
background: rgb(255,250,250,0.6);
margin-left: 45px;
border-radius: 2px;
box-shadow: 0 2px 2px rgba(0,0,0,.3);
overflow: hidden;
}
.login-card img{
width:70%;
height:70%;
margin-top: -25px;
background-color: crimson; /*this is just to cover up the image*/
}
<div class="login-card">
<img src="captiveportal-logo.png"/>
<form name="login_form" method="">
<input type="text">
<input type="password">
<input type="submit">
</form>
</div>
I really want it to be half floating outside its div