How to close a panel using data-dismiss property in bootstrap

Posted by Manideepgoud under Bootstrap category on | Points: 40 | Views : 3686
To close the panels using data-dismiss property, we have to use data-dismiss="alert".
<h3>closing panels</h3>
<div class="container">
<div class="row">
<div class="col-xs-3">
<div class="panel panel-success" id="close1">
<div class="panel-heading">
SN ITFunda
<button type="button" class="close" data-target="#close1" data-dismiss="alert">
<span aria-hidden="true">&times;</span>
<div class="panel-body">
<div style="background-color:pink;color:white;" class="panel-footer">
ITFunda, DotNetFunda

Comments or Responses

Login to post response