Created
September 24, 2020 12:48
-
-
Save afifalfiano/e733e00f12a70b8ca62794163796d963 to your computer and use it in GitHub Desktop.
Modal Follow IG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | |
</head> | |
<body> | |
<!-- Button trigger modal --> | |
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal"> | |
Launch demo modal | |
</button> | |
<!-- Modal --> | |
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> | |
<div class="modal-dialog" role="document"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
<div class="modal-body"> | |
<div class="row"> | |
<div class="col-lg-6 col-md-6 col-sm-6 align-self-center"> | |
<div class="d-flex justify-content-start"><i class="fa fa-user fa-lg" aria-hidden="true"> User A</i></div> | |
</div> | |
<div class="col-lg-6 col-md-6 col-sm-6 align-self-center"> | |
<div class="d-flex justify-content-end"><button class="btn btn-success">Follow</button></div> | |
</div> | |
</div> | |
<div class="row pt-2"> | |
<div class="col-lg-6 col-md-6 col-sm-6 align-self-center"> | |
<div class="d-flex justify-content-start"><i class="fa fa-user fa-lg" aria-hidden="true"> User B</i></div> | |
</div> | |
<div class="col-lg-6 col-md-6 col-sm-6 align-self-center"> | |
<div class="d-flex justify-content-end"><button class="btn btn-success">Follow</button></div> | |
</div> | |
</div> | |
<div class="row pt-2"> | |
<div class="col-lg-6 col-md-6 col-sm-6 align-self-center"> | |
<div class="d-flex justify-content-start"><i class="fa fa-user fa-lg" aria-hidden="true"> User C</i></div> | |
</div> | |
<div class="col-lg-6 col-md-6 col-sm-6 align-self-center"> | |
<div class="d-flex justify-content-end"><button class="btn btn-success">Follow</button></div> | |
</div> | |
</div> | |
</div> | |
<div class="modal-footer"> | |
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment