Menu

.card{position:relative;width:300px;height:400px;padding:20px 30px;text-align:left;z-index:1;overflow:hidden;} .card:after{content:' ';position:obsolute;top:5px;left:5px;bottom:5px;right:5px;background:black;z-index:-1} .card:before{content:' ';position:obsolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(red,transparent,transparent,transparent,transparent,blue);z-index:-1;transition:2s} .card:hover:before{transform:rotate(90deg)}

Ads middle content1

Ads middle content2