RSS Subscription

Subscribe via RSS reader:
Subscribe via Email Address:
 
Tampilkan postingan dengan label Tutorial. Tampilkan semua postingan
Tampilkan postingan dengan label Tutorial. Tampilkan semua postingan

Simulate Realism with CSS3

Posted By On 07.00 0 komentar
CSS3 is here to make our lives easier as web designers and developers. While it’s not something we can always rely on heavily for layout purposes just yet, we can use it to enhance certain aspects of our designs by spending a considerably less amount of time doing so.

However, CSS3 has not been created for the sole purpose of making it easier and quicker to create a website but also so we can create much better sites than we ever could with CSS before. Here are a few examples of how CSS3 can improve the web.

Polaroids – View Demo


Despite not being around today, polaroid images are still iconic and because of this is still a great way to display photos. It’s simple enough to display a basic polaroid image using a white border on all sides with a thicker border for the bottom but we can enhance it with CSS3. As you’ll see in the demo, viewed in the latest versions of Safari, Firefox or Chrome, you can add an extra layer of depth with the addition of drop-shadow and transitions.
img {
 border: 15px solid #fff;
 border-bottom: 65px solid #fff;
 -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
 -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
 -webkit-transform: rotate(1deg);
 -moz-transform: rotate(1deg);
}

img:hover {
 -webkit-box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.1);
 -moz-box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.1);
 -webkit-transform: rotate(1deg) scale(1.05);
 -moz-transform: rotate(1deg) scale(1.05);
}
A subtle shadow gives the impression that is sitting on a flat surface and by scaling and increasing the size and positioning of the shadow on a hover state we can create the illusion that it has been raised slightly from the surface.

Buttons – View Demo


Why do buttons exist in web design? The web is an interactive medium and buttons are a form of interaction, they are easy to understand as a metaphor for real, physical buttons we use everyday on things like computers, mp3 players, televisions and any other electronic devices we use on a daily basis.
The key to making the buttons behave more like real physical buttons using CSS3 is using code such as shown below for the second button. To achieve a circle with CSS3, set a width and a height and define border-radius as half of those values.

button.two {
 width: 30px;
 height: 30px;
 -webkit-border-radius: 15px;
 -moz-border-radius: 15px;
 border-radius: 15px;
 text-indent: -9999px;
 border: 1px solid #696969;
 background: #696969 url(power.png) no-repeat 6px 5px;
}

The active state uses CSS3′s gradient ability to create a gradient that goes from dark at the top to a lighter colour at the bottom. To further emphasise the depression of a button, a CSS transform is applied, scaling down the button slightly. To maintain the background image of the power button, include it in the background property and separate the gradient values with a comma.
button.two:active {
 -webkit-transform: scale(0.97);
 -moz-transform: scale(0.97);
 background: url(power.png) no-repeat 6px 5px, -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0.13, #696969),
  color-stop(0.72, #2a2a2a)
 );
 background: url(power.png) no-repeat 6px 5px, -moz-linear-gradient(
  center bottom,
  #696969 13%,
  #2a2a2a 62%
 );
}

The recessed border also uses CSS3 gradient to get the full effect. The border class is applied to a div containing the button.
.border {
 margin: 0 auto;
 height: 42px;
 width: 42px;
 display: block;
 background-color: #fcfcfc;
 -webkit-border-radius: 21px;
 -moz-border-radius: 21px;
 border-radius: 21px;
 background: -webkit-gradient(
     linear,
     left bottom,
     left top,
     color-stop(0.13, #fcfcfc),
     color-stop(0.72, #c0c0c0)
 );
 background: -moz-linear-gradient(
     center bottom,
     #fcfcfc 13%,
     #c0c0c0 62%
 );
 -webkit-box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.6);
}
View the demo in the latest versions of Safari, Chrome or Firefox.

DVD Animation – View Demo


CSS3 has an animation module which is plenty of fun to play with especially as you’ll be able to do things with CSS that you weren’t able to do before.
a:hover img[alt*="Disc"] {
 -moz-transform: translate(50px,0) rotate(330deg);
 -webkit-transform: translate(50px,0) rotate(330deg);
 transform: translate(50px,0) rotate(330deg);
}
Here the animation is being used to animate the DVDs as as you hover over the link that encapsulates bot the cover and the disc.
img[alt*="Disc"] {
 -moz-transition: all .5s ease-in-out;
 -webkit-transition: all .5s ease-in-out;
 transition: all .5s ease-in-out;
}
Anyone who follows the work of Andy Clarke will likely have seen the DVD animation of the homepage of For a Beautiful Web. The above code demonstrates how Andy implemented this effect. At this point I want to highlight what you can do when you see something interesting on the web. All you have to do is have a look at the source code to see exactly how it works and learn from it to see how you could use it in the future. Now I’m not saying copy someone’s work but adjust it to your or your client’s needs.
Zurb also have an excellent demonstration of a similar effect which the wrote for Smashing Magazine.
http://inspectelement.com

10 Fantastic and Creative Web Design Styles

Posted By On 06.55 0 komentar
When designing a website, there are a number of different styles you can adopt to get the message of a brand across effectively to customers, users or readers. The important thing to consider is to pick a style that matches the brand you are designing for. Also, there’s no reason why you need to stick to one particular style. Multiple different styles can merge together perfectly fine as you’ll spot in some of the examples below.
Here is a look at ten of the most creative styles in use in web design today with examples of some of the best websites that utilise them.


creativewebstyles

 http://inspectelement.com

1. Illustrations and Cartoons

Illustrations and cartoon drawings can really bring a web design to life. Drawing is a creative activity by definition and by incorporating it into a website’s design is one of the most creative methods of presenting information on the web.
The variety of this style is only limited by the designers imagination and can be hand-drawn or vector based imagery. Check out the examples below.

Flourish

flourish

Owltastic

owltastic

The Pixel

thepixel

Artua

artua

Pampaneo

pampaneo

2. Two Tone Colour

Using only two colours to create a design doesn’t sound like a particularly inspiring style of design until you see it used well. When used well it can indeed be very inspiring and allows more focus on other aspects of the design such as typography and layout. More focus can be placed on the content as this style of web design ties in well with the minimalistic design which increases the users’ focus on the content.
To see just how inspiring and less distracting this type of design can be take a look at the following examples of some of the best uses to two-tone colours in web design.

Squarespace Blog

squarespaceBlog

Carsonified

carsonified

Helveti-Tweet

helveti-tweet

Circus Family

circus

3. Photo-Realism

Photo-realism is a technique that everyone will be familiar with immediately purely because of the associated realism. It is a great way to complement the content especially when used as a large background image.
The following examples show just how stunning photo realistic based web designs can be.

Ecoki

ecoki

Work Awesome

workAwesome

Palm

palm

Alexey Abramov

alexarts

Food Inc. Movie

foodincmovie

4. Transparency

Transparency is a great way of making text more readable when placed above images. Doing so also preserves the part of the image below the text so that the full image can still be seen to some degree.
With the increasing demise of IE6 and ways of making transparent PNG files behave in IE6, transparency has become a viable style in web design. So much so that some sites rely on it heavily.

Envato

envato

Core

corebasis

Fix Outlook

fixoutlook

Pizzaza

pizzaza

Line 25

line25

5. Beautiful Typography

Ultimately good typography is what helps make text more readable on the web but he design of typography can be inspiring in its own right. Great typography is an art and therefore is one of the more creative ways to display content online.
Arranging native type on a website is slowly improving with services such as Typekit popping up but of course, image replacement techniques can be used for any unsupported fonts.

Andrew Lindstrom

andrewlindstrom

João Andrade

joaoandrade

Mulletized

mulletized

Jack Bloom

oldergraphicdesigner

idsgn

idsgn

6. Textures and Patterns

Using textures and patterns can be a good way of adding depth to a web design. The most common use of this style is on the background either as a repeated image or a big background image.

Simone Maranzana

simonemaranzana

Matt Mullenweg

mattMullenweg

Xperience

xperience

Biola Undergrad

biola

Shannon Moeller

shannonmoeller

7. Grunge

The grunge look can often look a little messy and untidy but that is part of the appeal. Especially in web design, as current trends point more towards the clean and tidy styles that is more appealing but grunge design still has its place primarily with brands which it is appropriate for.

Syc Fuk

sycFuk

ths

ths

Ali Tabatabaei

alitabatabaei

8. Nature

Natural elements within a web design create a familiar relationship with the outdoors and evokes the feeling of being down-to-earth. Nature can also give a design an organic feel. Have a look at the examples below to see how nature can be used effectively in web design.

Komodo Media

komodoMedia

Tomáš Pojeta

pojeta

Weberica

weberica

Outdoor Italia

outdooritalia

Silverback

silverback

9. Abstract

Abstraction is a very creative artform due to the freedom it gives the designer. Abstract art can be given a meaning or have no meaning at all or it can be interpreted in any way the viewer wishes or it can simply be used as a good looking visual effect. As such, this style is probably the most diverse in its creativity meaning that designs can be unique to themselves and be more memorable as a result.
The freedom of abstract design is used to stunning effect on the web.

Lyrical Media

lyricalmedia

DSDesign

dsdesign

Gummisig

gummisig

Make Photoshop Faster

makephotoshopfaster

duoh!

duoh

10. Retro

Retro design is a niche style that is a fairly recent trend in web design. It is commonly used to sell a product or service with styles that originate from anywhere from the 1920s to the 1970s. It is interesting to see modern interpretations of what was common in that era and below are some examples being used on the web currently.

Forty Seven Media

47m

Jeff Sarmiento

jeffsarmiento

Edgewater

edgewater

The New York Moon

nymoon

All Star Lanes
























allstarlanes