⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/honeyvig
Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies
Showing posts with label Effects. Show all posts
Showing posts with label Effects. Show all posts

Friday, December 9, 2011

Text-Shadow and Too Much Time

CSS3 gives us many great new toys, and recently I spent some time exploring one of my favorites: the text-shadow property. Before we get in to the examples, here are some fun facts about this property:
  • text-shadow does not require any prefix (such as -moz- or -webkit-)
  • it allows multiple values, so you can add multiple shadows to text
  • as right of now, text-shadow is not supported in the IE9 beta, but is supported by every other browser
  • its been around in WebKit since 2006, but was added to Firefox with version 3.5
The syntax is fairly simple:
text-shadow: x-offset, y-offset, blur amount, color;
…and just add values – separated by commas – for multiple shadows. I found that using ems for the offsets and blur helped with fine-tuning the effect.

In Action

With text-shadow, we can achieve some not-ground-shaking-but-as-yet-unheard-of effects with web typography.

Letterpress

To achieve a letterpress effect, first create a text-shadow without blur that is offset below your text and is the same color as (or slightly lighter than) your background:
text-shadow: 0 2px 0 #fef8f0,
Then add a blurred, darkened shadow with no horizontal or vertical offset:
text-shadow: 0 2px 0 #fef8f0, 0 1px 3px #bbb;
Note that you only need to add a comma between shadow values. You may want to lessen the effect on smaller text. In my example, the P elements have less of a blur on the darkened shadow.

Outline

Outlines are simple in context, but kind of a pain to execute. Basically, you want to surround your text with five sharp shadows of the same color:
text-shadow: 0 1px 0 #fff,
             1px 1px 0 #fff,
             -1px 0 0 #fff,
             -1px -1px 0 #fff,
             1px -1px 0 #fff;
I noticed some issues with the outline being cut off in WebKit browsers; this can be fixed by adjusting the line-height. WebKit supports a text-stroke property as well, but this text-shadow method is preferable since it works in more browsers (except, of course, IE).

Emboss & Engrave

Using the same concept as the outlines, you can also create an embossed or engraved dimension to your text. Instead of all for sides being the same color, though, just contrast opposite sides with an opposite value:
text-shadow: 0 1px 0 #888,
             1px 1px 0 #888,
             -1px 0 0 #fff,
             -1px -1px 0 #fff,
             1px -1px 0 #fff;
             /* Text embossed */
text-shadow: 0 1px 0 #fff,
             1px 1px 0 #fff,
             -1px 0 0 #888,
             -1px -1px 0 #888,
             1px -1px 0 #888;
             /* Text engraved */
You can fine tune from here to enhance or exacerbate the illusion.

Echoes

This is one of my favorite styles. It reminds me of baseball jersey text. You can create this style by first offsetting a sharp shadow that is the same color as the background by two pixels:
text-shadow: 2px 2px 0 #fff,
…then add another sharp shadow of a different color, offset by three pixels:
text-shadow: 2px 2px 0 #fff, 3px 3px 0 #888;
These distances are, of course, relative and should be adjusted as needed.

Extrusion

I actually got this one, My twist is to vary the colors to make a slight gradient:
text-shadow: 1px 1px 1px #ccc,
             -1px -1px 0 #bbb,
             -2px -2px 0 #bbb,
             -3px -3px 0 #b7b7b7,
             -4px -4px 0 #b3b3b3,
             -5px -5px 0 #b0b0b0,
             -6px -6px 0 #acacac;

Ad Infinitum, Sine Nauseum (Hopefully)

There are a few other examples and experiments on a demo page I found on google, which I encourage you dissect to derive your own. The real trick with any style is to know when to use it, and to what degree. My advice: always err on the side of subtlety. Please.

Tuesday, October 25, 2011

25 Amazing CSS3 Experimentations and Demos

CSS3 is opening up a lot of possibilities for designers and developers. Things that used to require images, JavaScript or Flash can now be done with the power of CSS. Unfortunately, in most cases these developments are more useful for experimentation and learning at this point since they are not supported by all of the major browsers. However, if you’re interested in learning more about the capabilities of CSS3 it can be a valuable use of your time to see what is being done.
In this post we’ll feature 25 experimentations and demos from various designers/developers using CSS3.  Some have more practical real-world uses than others, but all of them demonstrate what can be done with CSS3 and some creativity.
Look Ma, No Flash!
Look Ma, No Flash!
Old School Clock with CSS3 and jQuery
Old School Clock with CSS3 and jQuery
A Colorful Clock with CSS & jQuery
A Colorful Clock with CSS & jQuery
AT-AT Walker
AT-AT Walker
Pure CSS Social Media Icons
Pure CSS Social Media Icons
Pure CSS3 Page Flip Effect
Pure CSS3 Page Flip Effect
Recreating the OS X Dock
Recreating the OS X Dock
Use CSS3 to Create a Dynamic Stack of Index Cards
Use CSS3 to Create a Dynamic Stack of Index Cards
Experiment: Realistic iPod with CSS3
Experiment: Realistic iPod with CSS3
CSS3 Loading Spinners without Images
CSS3 Loading Spinners without Images
CSS Posters
CSS Posters
CSS3 Background-Clip & @Font-Face
CSS3 Background-Clip & @Font-Face
CSS3 Button Maker
CSS3 Button Maker
Create a Vibrant Digital Poster Design with CSS3
Create a Vibrant Digital Poster Design with CSS3
Multi 3D Cubes with Animation Using CSS
Multi 3D Cubes with Animation Using CSS
Sliding Vinyl with CSS3
Sliding Vinyl with CSS3
Animations Using CSS Transforms
Animations Using CSS Transforms
Easily Turn Your Images into Polaroids with CSS3
Easily Turn Your Images into Polaroids with CSS3
jQuery DJ Hero – CSS3 and jQuery Fun
jQuery DJ Hero - CSS3 and jQuery Fun
CSS3 Animations Demonstrated with Snow
CSS3 Animations Demonstrated with Snow
How to Create Depth and Nice 3D Ribbons Only Using CSS3
How to Create Depth and Nice 3D Ribbons Only Using CSS3
Apple’s Navigation Bar Using Only CSS
Apple's Navigation Bar Using Only CSS
Pure CSS Coke Can
Pure CSS Coke Can
Our Solar System in CSS3
Our Solar System in CSS3
Rotating Image Gallery Using CSS Transform and Transition
Rotating Image Gallery Using CSS Transform and Transition

Saturday, October 22, 2011

20+ Demos Showing Advanced jQuery Effects


Just a short while ago, Flash was one of the primary technologies used by web designers to add interactivity to a website.
Since the introduction of the iPad, with its lack of the Flash Player, there’s an acceleration in the web development world to use alternative technologies to Flash, such as jQuery, Ajax and others.
Although Flash is still a very powerful and useful tool, which works great on many cases, several of the effects that web designers are accustomed to creating in Flash, can be just as easily implemented using jQuery.
Here are 21 online demos that show the power of jQuery for creating advanced effects and interactivity that can rival Flash.
WordPress Themes

1. Flip! A jQuery plugin

This demo mimics the popular card flip technique which can rotate an element 360 degrees around its own x or y-axis.


2. jQuery Quicksand plugin

This is a great plugin for sorting an array of elements/icons on a page with nice fade-in/fade-out and animation effects.


3. ImageFlow

This image viewer is similar to Apple’s CoverFlow interface that has become so familiar in their various products and applications.


4. Building an interactive map with jQuery instead of Flash

This demo joins the power of jQuery with Ajax to really create an engaging interface.


5. Slideout Tips With jQuery & CSS3

Clicking on the “+” symbols reveals additional information with a nice smooth animation effect.


6. Zoomer Gallery

In this demo, what appears to be a regular static image gallery is given some extra interactivity by using a multi-layer zoom effect when hovering over an image.


7. jQuery Circulate

This demo shows the much used Flash effect of circling an image around a page – all done using jQuery.


8. Photo Zoom Out Effect

This demo looks deceptively simple, but upon further examination you will find there are several layers to the complexity of the zoom-out effect.


9. Sliding Boxes and Captions with jQuery

Here we get to see how powerful transitions can be created using jQuery, a technique once reserved for Flash developers only.


10. CSS3 Lightbox Gallery

This plugin looks like it was written specifically for social-media. Dragging and dropping a photo on top of the “share box” will open a modal window that can be the interface to call an API via AJAX which can allow the user to share a photo on Flickr, Twitter, Facebook, and other sites.


11. Making a Photoshoot Effect With jQuery & CSS

Although this demo may seem like eye-candy at first glance, it could be a very powerful tool for working with large images when coupled with AJAX or HTML5 local storage.


12. Awesome Bubble Navigation

Here the developer makes good use of color transitions and animation to produce a very attractive and interactive menu.


13. Beautiful Background Image Navigation

In this demo each user action triggers several transitions which all act to fully immerse the user in the interface.


14. AviaSlider

AviaSlider uses classic Flash-like transition effects to enhance what would appear to be a standard slider interface.


15. Background Image Slideshow

Animated backgrounds are one of the areas where Flash used to dominate in web design. Here is an example using jQuery instead.


16. Panning Slideshow

Another unique take on the typical slideshow interface. Here the author adds diagonal navigation to spice up the interface and to make it stand out.


17. jqFancyTransitions

This plugin can be used to display your photos as a slideshow with fancy Flash-like transition effects.


18. iCarousel – Horizontal images slider

Another slideshow that adds just a touch of easing to make the transitions really stand out. It’s no wonder that they chose to showcase sexy Mac products in this demo.


19. Making an Interactive Picture with jQuery

This demo can be used to take advantage of websites where there is lots of screen space. Clicking on a section of the website reveals a modal box which displays more information about the clicked section.


20. Cloud Zoom

A plugin that looks like it was designed with eCommerce in mind. Cloud Zoom is easy to implement and can really enhance the user’s experience.


21. Apple-like Retina Effect

Anyone who has used an iPhone, iPod touch, or iPad is familiar with the “Retina View” that will enlarge a small area on the screen when you touch the area for an extended period of time. This demo implements this effect for the desktop.