1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

HTML: How to create a transparent image with CSS?

  1. Clicks today:
    0
  2. Clicks this month:
    2
  3. Overall rating:
    0.00/5

HTML » Basics — over 5 years ago
The CSS3 property for transparency is opacity. IE9, Firefox, Chrome, Opera, and Safari use the property opacity for transparency. The opacity property can take a value from 0.0 - 1.0. A setting of opacity: 1 would make the element completely opaque (i.e. 0% transparent), whereas opacity: 0 would make the element completely transparent (i.e. 100% transparent).A lower value makes the element more transparent.

Comments

avatarPatrickLawrence 4 days ago

First of all, I would advise you not to store images in the database, but to store the file name or file link.

on the function folder Thumbs () {

$ thumbs_path_from_root = 'images / galleryName /'; foreach (glob ($ thumbs_path_from_root. '*. jpg') as $ image) { $ id = explode ('.', basename ($ image)); echo "<div class = 'ecard_holder'> <img src = '". $ image. "' class = 'ecard_thumb' id = '". $ id [0]. "' /> </div>"; } }

this will search in the folder you specified and list all the images on the page where you used this function

, put this "Thumbs ()" function in your html and style it well. buy research papers cheap

Your Comment

You must be logged in to post a comment.