I am working on a web application. I have a view in which there are cards three in a row. All the data is retrieved from database and bind using loop in view. There is a link named "read more" in each card in which when clicked expands it down showing more content.The problem is when click on link of other cards only 1st card is expanded and other cards aligns to right sides and not move down. Please help it out. Below is the code of the view
- @using NiyaSpa.Models
- @model Tuple
- class="inner-agile-w3l-part-head">
class
="w3l-inner-h-title">Facials "text-align:center; font-size:medium;"
>- We provide skin specific facials as listed below. Each contains 5-8 step treatments including cleansing, chemical or physical exfoliation, gel treatment, steam facial, toning and moisturizing. Our blood circulating facial massage allows products to absorb deep into the skin giving clients long lasting results.
- class="accordion md-accordian" id="accordEx" role="tablist" >
- class="row">class="card-deck">
- @foreach (var facialservices in ViewBag.subServices as IEnumerable
) - {
class="col-md-4" style="margin-bottom:20px;">class="card promoting-card">class="card-body d-flex flex-row">class
="card-title font-weight-bold mb-2">@facialservices.Sub_ServiceNameclass="view overlay">class="card-img-top rounded-0" height="100%" width="100%" src="https://mdbootstrap.com/img/Photos/Horizontal/Food/full page/2.jpg" alt="Card image cap">
- "#!">
class="mask rgba-white-slight">class="card-body">class="collapse-content">class
="card-text collapse" id="collapseContent">@facialservices.Description- class="btn btn-flat red-text p-1 my-1 mr-0 mml-1 collapsed" data-toggle="collapse" href="#collapseContent" aria-expanded="false" aria-controls="collapseContent">Read More
- }
ram kumarPosted Feb 20, 2019, 7:01 AM
Laxmidhar SahooPosted Feb 16, 2019, 3:51 AM