Behavior, Content, Money – 3 Things you should never give away for free!!!

BCmoney MobileTV

5 Steps to Creating Slick Transparent Overlays

Posted by Fruitle on September 24, 2010 in CSS, HTML with No Comments


No Gravatar

One of the best Web Design guides out there is still CSS Zen Garden. Not only does it provide a beautiful looking layout and offer up a base template, but its presentation code also validates to the latest CSS and xHTML standards. However, if you’ve ever tried to work with the main template, you’ll notice that a lot of the nice look and feel are actually achieved via some simple image effects, and, that the steps required for creating your own images with the same “floating corner of the page” effects are not made available. Furthermore, due to the licensing on the templates, you are not allowed to use or re-purpose any of the images in the example layouts.

Enter this tutorial by Jenny (aka misski)…
Simply follow these 5 steps in Photoshop to create a transparent box over an image like those seen on CSS Zen Garden.

1) Have the image that you want the transparent box to be on ready:

Original image

2) Using the shape tool, create a square, then delete the path by going to the Pen tool and right clicking “Delete Path”.

Drawing box

3) Make the box “Soft Light” by going to the layers box, and use the drop down button where it says “Normal”.

Border effects

4) Right click the layer, and go to Blending Option. Go down to “Stroke” and match the setting like this:

Final Transparency
5) Erase the edges of the image so it won’t be “soft”.

Final image

With this tutorial, you can modify the steps, like setting the white box to something else other than “Soft Light” (like Overlay, or just turning the opacity down when it’s set as Normal).

You could also use additional shapes as the transparency overlay or, another image, and it works to enhance just about any kind of background image.

Last but not least, you can accomplish the same thing in GIMP using a slightly different variation:

  1. use the rectangle select toolGIMP - rectangle select
  2. right-click and select Stroke then choose Line with 1 px as the width
  3. choose the fill color with the color picker and foreground/background color tool (white or other light colors work best)
  4. use the bucket tool () to “pour” that color inside the already created hollow rectangle
  5. you should be able to see the current solid rectangle on top as a separate layer from the original image, select this layer, and move the Opacity slider at the top of the layers dialog to the level you want (sets the transparency, 75% worked for the look I was going for); then simply flatten the image or merge down when saving to have the two layers blended together in the final output



This post guest-authored by Jenny of  Fruitle.com:
fruitle

You can check out some of her excellent work at: http://www.flickr.com/photos/fruitle/

Or request her freelance graphics  services at Fiverr: http://www.fiverr.com/users/misski

Leave a Reply

No trackbacks yet.

No post with similar tags yet.

Posts in similar categories

BC$ = Behavior, Content, Money

The goal of the BC$ project is to raise awareness and make changes with respect to the three pillars of information freedom - Behavior (pursuit of interests and passions), Content (sharing/exchanging ideas in various formats), Money (fairness and accessibility) - bringing to light the fact that:

1. We regularly hand over our browser histories, search histories and daily online activities to companies that want our money, or, to benefit from our use of their services with lucrative ad deals or sales of personal information.

2. We create and/or consume interesting content on their services, but we aren't adequately rewarded for our creative efforts or loyalty.

3. We pay money to be connected online (and possibly also over mobile), yet we lose both time and money by allowing companies to market to us with unsolicited advertisements, irrelevant product offers and unfairly structured service pricing plans.

  • Archives