Tag: CSS

Frameworks: Bootstrap

Bootstrap adalah CSS dan JavaScript frameworks. Bootstrap mempunyai template untuk typography, forms, buttons, tables, navigation, modals, image carousels dan lain-lain bagi membina responsive website. Bootstrap boleh diperolehi di getbootstrap.com.

Bootstrap CDN (Content Delivery Network) daripada MaxCDN dan juga memerlukan jQuery.

<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

Read More

CSS Lesson: Basic

CSS adalah singkatan bagi Cascading Style Sheets. CSS bertujuan menentukan web style, bukan pada kandungan.

<!DOCTYPE html>
<html>
<head>
 <style>
 body {
 background-color: #d0e4fe;
 }
 /* This is a single-line comment */
 h1 {
 color: orange;
 text-align: center;
 }

 p {
 font-family: "Times New Roman";
 font-size: 20px;
 }
 </style>
</head>

<body>
 <h1>CSS Example</h1>
 <p>This is a paragraph.</p>
</body>
</html>

Read More