Pages

Saturday, May 2, 2015

How To Create A Class In Div




<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<style type="text/css">
.div1{

background-color:#66F;
border:dashed;
border-color:#F00;
}

</style>

<body>
This is the example of custom div class <br><br>
<div class="div1">
This how we can create a class and use it in div :) ;
</div>

</body>
</html>

No comments:

Post a Comment