All files / src/components/drop-down DropDown.css

60% Statements 6/10
66.67% Branches 4/6
50% Functions 1/2
60% Lines 6/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 301x   1x 1x     1x   1x 1x                                        
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    Eposition: relative;
    display: inline-block;
    border: 1px solid black;
    padding: 0 0 0 1rem;
  }
  
  /* Dropdown CoEntent (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
    
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display:block;
}