<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of different types of buttons.
</h3>
<div class="container"></div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-xs ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-sm ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-lg ">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-lg">Button</a>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
style.css
.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of different types of buttons.
</h3>
<div class="container"></div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-xs ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-sm ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-lg ">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-lg">Button</a>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
style.css
.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}
0 comments:
Post a Comment