Home > Blockchain >  HTML/CSS: Positioning a background element responsively
HTML/CSS: Positioning a background element responsively

Time:03-23

Here's a rough mockup

CodePudding user response:

You can try to use "z-index" in CSS. Check this page to get more informations

CodePudding user response:

Try this in your Css :

.yourClassHere{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
  • Related