statistics

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- .block-wrapper{ padding: 24px 25px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); border-radius: 5px; background-color: #ffffff; margin-top: 20px; } .block-services-element{ display: flex; justify-content: space-between; background-color: white; } .logo-service{ display: flex; justify-content: center; align-items: center; text-transform:uppercase } .button__dropdown{ margin-right: -15px; } .block-services-element img{ max-width: 20px; margin-right: 25px; } /* Открытие закрыти Service elements // */ .dropdown { display: flex; margin-top: 25px; position: relative; justify-content: space-between; text-align: justify; } .hidden{ display: none; } .dropdown img{ margin-right: 25px; } .dropdown p { color: #061e37; font-family: Raleway; font-size: 15px; font-weight: 400; line-height: 25px; /* Text style for "Lorem ipsu" */ letter-spacing: 0.45px; } .text{ padding-right: 15px; padding-top: 7px; padding-bottom: 7px; display: flex; flex-flow: wrap; align-content: space-between; } .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); padding: 12px 16px; z-index: 1; } -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- button.onclick=function getBox() { var boxhidden=document.getElementById("blockInviseble"); (boxhidden.className==="dropdown hidden")?boxhidden.className="dropdown":boxhidden.className+=" hidden"; // body... }