Installing Bootstrap
Tags : HTML/CSS
Installing Bootstrap
Go over to getbootstrap.com and download bootstrap. Extract the zip file and place the bootstrap.min.css file in your website's css folder.
<!DOCTYPE html>
<html>
<head>
<title>Using Bootstrap</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<p class="col-md-3">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<p class="col-md-3">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</body>
</html>
@media (min-width: 500px) and (max-width: 600px){
p {
color: red;
}
}
Try the following:
- Create a new website and install bootstrap on it. Remember to create a css folder and place bootstrap.min.css in it and link it on your index.html file.
- Add three paragraphs and try to make columns using the bootstrap grid system. (class="col-md-3")