Home > Tutorial > Adding Shadow Around Blogger Post Pictures
Adding Shadow Around Blogger Post Pictures
Posted on Saturday, February 12, 2011 by android apps market for tablests
It has been some time since I last composed a post. I moved to another country and I have just settled down - to a certain extent. And now I'm back - hopefully at full swing again. So, today I'm going to show how you can add shadows around your post pictures. I'm not much in the mood for words so let's cut to chase shall we?
Oh, by the way, it won't work with Internet Explorer 8 or any other older version of IE.
Oh, by the way, it won't work with Internet Explorer 8 or any other older version of IE.
If you're using the old Blogger interface: Go to Dashboard - Design - Template Designer - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
If you're using the new Blogger interface: Go to Dashboard ('House' symbol) - Template - Customize - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
That's it, you're done. If you're looking for a way to customise the outcome of this tutorial, see below for explanations of what each line does, and how you can change it.
If you're using the new Blogger interface: Go to Dashboard ('House' symbol) - Template - Customize - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
.post-body img {
padding: 1px;
background: transparent !important;
border: 1px solid transparent !important;
-moz-box-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
-webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
box-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
}That's it, you're done. If you're looking for a way to customise the outcome of this tutorial, see below for explanations of what each line does, and how you can change it.
Customization:
There you have it. That's how you give your pictures some shadows. Cheers.
| Padding | This line adds a small gap around your image. It is associated with the next line to it, the 'background' attribute. If you're looking for a way to change the white padding to a different color, see the background section below. If you want to remove the padding, set it to 0px. Example: padding: 0px; |
| Background | The background attribute adds color to the padding attribute. To change the color, just change the word 'transparent' to something else. For example: background: black !important; |
| Border | The border attributes works like both 'padding' attribute and 'background' attribute combined. You can set it's width and color all in one line. So why add both padding and border? Well, you can achieve a nice effect by the combination of these two, by setting your padding to be white and your border to be a crisp black line. So, if you prefer it, change the border attribute to:border: 1px solid black !important;To remove the border, use: border: none !important; |
| Shadow | The last three lines are the lines that control the shadow of your images. There are three lines because the shadow attribute is browser-specific. So for different browsers, a different line must be used. The above three lines are sufficient to cover most browsers. But you will never get it to work in IE, so don't beat yourself about it. You can adjust the horizontal projection of the shadow (let the shadow be more towards the left or right side of the picture), the vertical projection of the shadow (let the shadow be more towards the top or bottom side of the picture), the shadow spread, the color of the shadow and it's opacity. No matter what you do, make sure you apply the changes to all three lines.
Here's an example. In this example, I'm going to set the horizontal projection of the shadow to be towards the left, the vertical projection to be towards the bottom, the spread to be 3px, and let the shadow be white (in case your blog has a black background). -moz-box-shadow: -6px 5px 3px white; |
There you have it. That's how you give your pictures some shadows. Cheers.
Category Article Tutorial
Powered by Blogger.
Blog Archive
-
▼
2011
(4034)
-
▼
February
(643)
- Rumor - White iPad 2nd generation
- Consumer Reports Digital Edition for iPad
- Viewing Feature Android Smartphone "Samsung I910 ...
- February Reflections
- Best Evers: Laura Kelso, Writer
- Motorola Xoom overclocked to 1.5GHz, eats Quadrant...
- FORMWARE PR 2.0 DEMOED ON THHE NOKIA N8
- Gmail accidentally resetting accounts, years of co...
- SONY ERICSSON XPERIA ARC PINK - PICTURES
- ANDROID APP : MEGAVIDEO
- WORMS HD DEMOED ON THE NOKIA N8
- Dev Team Working on iTunes Alternative for Jailbre...
- Dev Team Working on iTunes Alternative for Jailbre...
- Ultrasn0w 1.3 May Also Support iPhone 4 Baseband 0...
- Ultrasn0w 1.3 May Also Support iPhone 4 Baseband 0...
- iPad 2 may also comes in white?
- iPad 2 may also comes in white?
- Apple working on Android-like gesture-based lock s...
- Apple working on Android-like gesture-based lock s...
- Download Cheat engine 5.5 Free Update
- Cheats for The Sims 3 PC
- Cheat Engine CE 5.6.1 Terbaru Download Free
- Update Security dan Definition for Microsoft Offic...
- Info Specification " Sony Ericsson Experia Pro: Th...
- LG Optimus Me P350 To Fight with Samsung Galaxy Mi...
- Sunday Salon: Week In Review #9
- Update on iPhone 4 Unlock on Baseband 3.10.01 and ...
- Update on iPhone 4 Unlock on Baseband 3.10.01 and ...
- Nexus S 2.3.3 update adjusts screen's color temper...
- HTC Incredible S, Desire HD, Desire Z and original...
- WINDOWS PHONE CAMPAIGN OVERVIEW
- WORMS HD AVAILABLE FOR SYMBIAN^3 PHONES
- Critical Dodge 2011 Ninja Saga Februari Cheat Update
- 28 29 Februari Cheat PB Point Blank Blooderz
- 2829 Februari Ninja Saga Engine Cheat 2011
- FullForce Forces iPhone Apps into Full View no mor...
- ManualCorrect Puts iPad Auto Correct in Check
- Wunderlist HD - Cloud-sync task manager for iPad
- How To Manage Subscriptions on iPad
- Sprint HTC Arrive with Windows Phone 7, first cop...
- Visualized: the HTC keyboard slider family
- Windows Phone's new UI and Xbox games
- one-cubic-millimeter computer, want to stick it in...
- New Apple MacBook Pro Reviewed
- Small Persons With Wings (MG)
- Library Loot: Fifth Trip in February
- North and South (Revisited)
- Sprint HTC Arrive with Windows Phone 7 copy and pa...
- ANGRY BIRDS COMING SOON TO WINDOWS PHONE 7
- Windows Phone's new UI and Xbox games are most exc...
- HTC Merge first hands-on!
- GOOGLE SKY ON WINDOWS PHONE 7
- Ixonos showcasing extensive Meego and Android expe...
- 27 Februari 2011 Hack v1.2 Update Point Blank Cheat
- Avira Premium 10 License Key Download Free
- Leaked Panel Lends Credence to Larger Screen and T...
- Leaked Panel Lends Credence to Larger Screen and T...
- Full Version Crack Adobe Photoshop CS5 12.0 Download
- Play PS3 Games on iPhone, iPod Touch and iPad with...
- Play PS3 Games on iPhone, iPod Touch and iPad with...
- Adobe Photoshop CS4 11.0 Full Version Download Cr...
- DeskTop Author Software Untuk Membuat Aplikasi EBook
- Samsung Galaxy Mini S5570 bundled with simpati
- Photoshop CS3 10.0 Download Full Version Crack Keygen
- 10 PC Gaming Terbaik 2011
- Nexian Tap Taouchscreen Promo Price at Hypermart, ...
- Cheat PB Storm Injector V.2.0 Download Released Fe...
- Cheat 26 Februari gc-evolution-v-11-full-hack 2011
- Download Maphack Gaspooll v1.10 Cheat Point Blank ...
- Windows XP iPod touch 2G Test 1 [Video]
- Windows XP iPod touch 2G Test 1 [Video]
- Sources: iPad 2 lands in thinner body with spec bu...
- NOKIA N8 FIRMWARE PR2 PREVIEW
- Official Android 2.3.3 updates for Nexus One and N...
- HTC Thunderbolt delayed until March 4th, says a Be...
- WINDOWS PHONE 7 -WHAT IF?
- REVIEW : MOTOROLA XOOM ANDROID TABLET
- NoVoiceMail Nixes Your iPhone�s Voicemail Button
- NoVoiceMail Nixes Your iPhone�s Voicemail Button
- Apple Set To Present FaceTime HD, Thunder Bolt I/O?
- Apple Set To Present FaceTime HD, Thunder Bolt I/O?
- Geohot Interviewed Again Over Sony Lawsuit
- Geohot Interviewed Again Over Sony Lawsuit
- Last Minute Engineering Issues Led Apple To Pull R...
- Last Minute Engineering Issues Led Apple To Pull R...
- �Undeletable Apps� Keeps Your iPhone Apps Secure
- �Undeletable Apps� Keeps Your iPhone Apps Secure
- Download Resetter Printer Canon iPTool MPTool i320...
- You Can�t Spell Hydrate Without Rate
- Samsung Galaxy S2 16GB Opened for Pre-Order in Swi...
- Download RiNocomp v.3.8 Cara Penggunaan Cheat Poin...
- Cheat 26 Februari FTF_Interaction 3 [Wallhack + FI...
- Komunitas Point Blank Facebook
- ACDSee FotoSlate 4 Photo Print Studio 4.0.146 Full...
- Download Internet Explorer 9 RC/Beta Offline Windo...
- iPad 2 Announced March 2
- How to Add Contact to Group on iPad
- Maximum Mail Attachment Size Limit on iPad
- NOOSY iPad HDMI adapter
- iBooks Text to Speech Feature on iPad
-
▼
February
(643)

