Jump to content

kristinad

Neophyte
  • Posts

    2
  • Joined

  • Last visited

Everything posted by kristinad

  1. Тогда вкладка не раскрывается. Можете, пожалуйста, написать поточнее? Мой код ниже: <div class="mbr-overlay" mbr-if="overlay&&bg.type!== 'color'" mbr-style="{'opacity': overlayOpacity, 'background-color': overlayColor}"> </div> <div class="container"> <div class="media-container-row"> <div class="col-12 col-md-12"> <div class="section-head text-center space30"> <h2 class="mbr-section-title pb-3 mbr-fonts-style" mbr-theme-style="display-2" mbr-if="showTitle"> Accordions </h2> </div> <div class="clearfix"></div> <div id="bootstrap-toggle" class="toggle-panel accordionStyles tab-content"> <div class="card"> <div class="card-header" role="tab" id="headingOne"> <a role="button" class="collapsed panel-title" data-toggle="collapse" data-core href="#collapse1" aria-expanded="false" aria-controls="collapse1"> <h4 class="mbr-fonts-style" mbr-theme-style="display-4">Fashion Trends</h4> </a> </div> <div id="collapse1" class="panel-collapse noScroll collapse" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body"> <p class="mbr-fonts-style mbr-text panel-text" mbr-theme-style="display-4" data-app-selector=".panel-text"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris et elit vitae lectus convallis scelerisque. Cras vestibulum blandit lorem, at fringilla nisl sollicitudin ac. Nunc venenatis nec neque sed semper. Mauris viverra, sapien sed fringilla egestas, sem felis condimentum augue, vitae sodales sem metus in ex. Aenean massa velit, sollicitudin quis elementum sit amet, vehicula sed nunc.</p> </div> </div> </div> <div class="card" mbr-if="bootstrapAccordion > 1"> <div class="card-header" role="tab" id="headingTwo"> <a role="button" class="collapsed panel-title" data-toggle="collapse" data-core href="#collapse2" aria-expanded="false" aria-controls="collapse2"> <h4 class="mbr-fonts-style" mbr-theme-style="display-4">Casual Style</h4> </a> </div> <div id="collapse2" class="panel-collapse noScroll collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="panel-body"> <p class="mbr-fonts-style mbr-text panel-text" mbr-theme-style="display-4" data-app-selector=".panel-text"> Donec facilisis felis arcu, vitae vestibulum massa lobortis eget. Ut pellentesque purus feugiat, tristique magna ac, luctus est. Vivamus sit amet magna venenatis, bibendum erat eu, tincidunt justo. Aenean viverra sollicitudin neque, sed bibendum nulla mollis id. Proin sit amet aliquet dui.&nbsp;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris et elit vitae lectus convallis scelerisque.</p> </div> </div> </div>
  2. Здравствуйте. Есть блок с вкладками, а именно - раскрывающиеся вкладки типа Аккордеон. Необходимо вставить картинку в названии каждой вкладки перед текстом. Как это сделать при помощи кода html?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy