my HTML is as below:
  <div id="background_div">
    <img id="background_img" src="images/background.jpg" alt="dont matter">
    <i class="material-icons">perm_identity</i>
    <div id="dropdown">
      <ul id="dropdown2" class="dropdown-content">
        <li><a href="#!">one<span class="badge">1</span></a></li>
        <li><a href="#!">two<span class="new badge">1</span></a></li>
        <li><a href="#!">three</a></li>
      </ul>
      <a class="btn dropdown-button" href="#!" data-activates="dropdown2">Select Service<i class="mdi-navigation-arrow-drop-down right"></i></a>
    </div>
  </div>
I changed the syntax to have the div id "dropdown" inside div id "background_div" (child/parent) because I thought it may help me centre using some sort relative CSS function. I originally had the two divs as siblings... Basically, all i'm trying to achieve is getting the dropdown div smack bang in the middle of the background_div . Be nice to do it in a responsive way too.
Can anyone please provide some CSS script to help me achieve?
Thank you!
 
     
     
    