Posts

Showing posts with the label source code in css

css code for center alignment

css code for center alignment  .center {   margin: auto;   width: 80%;   border: 5px solid blue;   padding: 20px; }

what is the css code for transparent background

 what is the css code for transparent background <html> <head> <style> img {   opacity: 0.5; } </style> </head> <body> <h1>Image Transparency</h1> <p>The opacity property specifies the transparency of an element. The lower the value, the more transparent:</p> <p>Image with 50% opacity:</p> <img src="thinkforu.jpg" alt="Forest" width="170" height="100"> </body> </html>

css code for image

 css code for image img {   border: 1px solid #ddd;   border-radius: 4px;   padding: 5px;   width: 150px; } <img src="thinkforu.jpg" alt="technology">

css for code blocks

css for code blocks // html code for blocks   <div class="au-grid">   <div class="container"> <div class="row">     <ul class="au-card-list au-card-list--matchheight">         <li class="col-sm-3 col-xs-6">             <div class="au-card au-body">             <div class="au-card__inner">                 <div class="au-card__title">                     <h3 class="au-card__title">Card 1</h3>                 </div>                 <p>Some text</p>             </div>         </div>         </li>         <li class="col-sm-3 col-xs-6"...