In Association with Amazon.in   Flipkart

Friday, July 5, 2013

CSS Examples With Class Formating Styles

Example-1:

<html>
  <head>
         <style>
               .abc{
                   
                    border         : 1 solid blue;
                    width          :150;
                    height         :150;
                   
                    }
         </style>
  </head>
  <body>
         <p class="abc">  Welcome to Css      </p>
        
  </body>
</html>


Example-2

<html>
  <head>
         <style>
               .abc{
                   
                    border      :1 solid blue;
                    width       :1000;
                    height      :1000;
                    background  :url(winter.jpg);
                    background  :red;
                    background-color :blue;
                    background-image :url(msslogo.jpg);
                    background-repeat:no-repeat;
                                                         (repeat-x , repeat-y )
                    background-position:left top;
                                                         right bottom
                                                            center center
                    }
         </style>
  </head>
  <body>
         <p class="abc">  Welcome to CSS     </p>        
  </body>
</html>

No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...