123CUSS
Tampilkan postingan dengan label web design. Tampilkan semua postingan
Tampilkan postingan dengan label web design. Tampilkan semua postingan

Fullscreen Layout with Page Transitions

A simple responsive layout with some fancy page transitions. The idea is to show four items initially and expand them. Some additional page transitions are added for inner items.
FullscreenLayoutPageTransitions
Today we’d like to share an experimental responsive layout with you. Initially, the layout shows four flexible boxes. When clicking on a box, it will expand to fullscreen and the others will scale down and fade out. When closing the current view, it will move back to the intial position while the other boxes come back up again. Another type of page transition can be seen on the works section where we will show a portfolio item by sliding in a panel from the bottom. The current view gets scaled down and disappears in the back.

All effects are done with CSS transitions and controled by applying classes with JavaScript. The whole layout is flexible and some media queries are added to size down things for smaller screens.

The beautiful illustrations used in the works section of the demo are by talented Isaac Montemayor.

Let’s take a look at some screenshots:
FullscreenLayoutPageTransitions01
The initial screen has the four flexible boxes. Resize the browser window to see them adapting fluidly.
FullscreenLayoutPageTransitions02
When clicking on a box, it get’s expanded to fullscreen.
FullscreenLayoutPageTransitions03
The view of a box that is expanded. A content are is revealed and we add a scroll to it when needed.
FullscreenLayoutPageTransitions04
In the works section, we add a thumbnail grid which will reveal a details panel once we click on an item. The page transition here is the new item sliding in from the bottom and the old view scaling down and disappearing in the back.
FullscreenLayoutPageTransitions05
The navigation through the items has the same page transition. When we close the item view, it will transition back down and the works view will scale back up again.
We hope you like this little experiment and find it inspiring!

FIND THIS PROJECT ON GITHUB

Article By : Mary Lou
Permalink : http://tympanus.net/codrops/2013/04/23/fullscreen-layout-with-page-transitions/

Make a Statement with Type

Make A Statement with Type

Selecting typefaces for a design project is about much more than just how the letters look. It is about more than serifs and sans serifs.

Font choices can have an impact on how your message is communicated and how people feel about the words on the page.

Think about the project in terms of branding. The message conveyed by typefaces should match the message of the brand or site in general. Some of the most well-known brands in the world – Coca-Cola, Canon, Fiat, IBM, Lego and MGM film studios – can be identified by their typefaces.

Is your site and idea bold? Or is it more submissive? Who do you want to feel most comfortable with your information – women, men, children? Then think about how you are using the words themselves. Are you using typography just to communicate words or more for show?

All of these factors should come into consideration when selecting fonts for your next project. It is important to understand how typography can make a statement and how you can influence through font decisions what that statement may be.
Think about the big words as text that will make a statement. Yes, the typefaces you use for main body copy are very important, but consider a user’s first impression when thinking about type and making a statement.

Set a Tone





Your font selections should reflect the meaning and tones of the words used in the typeface. Whether it is right or wrong, certain classifications of type have standard “feels.” For example, cursive fonts are often used for wedding websites or to promote things that are considered feminine. Sites that make you think of loud noises often use bold, thick typefaces.

But it can be about more than the tone of the site. Think about each word in the presentation. (How odd would it look to see the words “White Out” in purple letters or “Fist Fight” in a script?)

Determine the tone of your project before selecting the first font. Knowing your site’s intended audience is key and having an idea of how you want a project to feel will help you select appropriate typefaces.

Formal vs. Informal





You probably know the difference between a formal and informal font on the spot.

Formal typefaces tend to have traditional looks – serif and Old English styles – and are used commonly in professional publication. Books, newspapers and many websites build their design around formal typefaces. Formal type selections work well for sites that want to establish credibility and authority.

In some instances a script type style can have a formal feel, but much of it is determined by the context and font itself. Many sans serif fonts, which are standard in web design because of readability, can also be used for formal design.

Informal typefaces have a distinct look of their own. Almost any novelty typeface would be considered informal, as would most cursive styles. Fonts that are bubbly or overly thick and round also lack a sense of formality.

These types of fonts often work great for websites that are lighthearted in nature, are designed with children or play in mind or for sites that are humorous.

Masculine vs. Feminine






Really? A font can convey masculinity or femininity? Most certainly.

Masculine fonts tend to have hard edges, such as square or sharp serifs, and thick strokes. Slab serifs are often considered masculine but many classify a font such as Lobster (a thick-stroked script) in this category as well. Many condensed and ultra thin fonts (both serifs and sans serifs) are also considered masculine.

Feminine fonts are lighter, with thinner strokes and curves. Script and cursive typefaces are most commonly linked to women-targeted sites. Fonts with very round letterforms or distinct slants are also part of this classification. Finally, letters with ultra-thin strokes (think hairline) tend to have a more feminine feel.

Keep in mind though that much of what makes a font feel masculine or feminine is context. A color palette can affect how a typeface is viewed as can the actual words on the page.

Go Big (or Small) on Purpose






Size matters.

Overly large fonts will catch your eye immediately (as will a few words at a super-small size).

Large type emphasizes importance and heft. But text that is too large can sometimes feel overwhelming or crowded. The bigger the font size, the more the words will scream “look at me!”

Small type tends to be more formal and is used when other items in the design should be the focus. Small lettering may feel unimportant or easy to disregard. It is often used in display for secondary design elements, such as contact information.

As important as size itself is the use of varying point sizes (this also applies to bolding, italics and color). Make the important words big. Showcase words that you want to resonate with people after they read the text.

Use Type as Art






One of the easiest ways to really set your project out with type is to turn letters into a work of art.
This may be in the form of a custom typeface, a logo or even words to form some sort of image.

Using type in an unexpected way can really make elements stand out. But it can also be a risky tactic. Be careful to make sure that your text actually works as an image and that the words remain readable. This is a trick that is best employed sparingly and for a limited number of elements.

Food for Thought

Think about common “brands” and their signature typefaces. Would you view these sites differently if tomorrow the fonts changed?



The New Yorker: The font selection is formal and carries authority. Switching to a lighthearted, informal style hurts the legitimacy of the title.



Tumblr.: The popular site uses a font that is strong and traditional. The more sketchy, handwritten style seems to have a disconnect with the brand.



The Knot: The popular wedding planning and information site uses a font with a distinct feminine feel. Would fewer women turn to the site if it used a stronger typeface?

Articles By : Carrie Cousins
Permalink : http://tympanus.net/codrops/2012/09/26/make-a-statement-with-type/

Principles of Beautiful Web Design

Many people think designing a web or weblog is a technical task, akin to programming. This is not the case. Keep it simple. The most important is design elements should not overshadow the information on the page. A web site need to be laid out in a way that pleases the eye, is easy to read, and emphasizes the important parts of information. There are some simple keys to keep in mind when playing with web design. By following some simple points, anyone should be able to create a visually pleasing design and take one step closer to fame. Okay, it’s not that simple, and talent and experience do matter, but anyone can turn their home page into something prettier within mere minutes.

By Matt Silverman @mashable.com

The best part is, you don’t have to be a designer or a programmer to create a great looking blog, but you should know where to find the right resources, and how to align your blog’s design with its purpose.
  • Learn Some HTML. A basic understanding of the web’s nuts and bolts will allow you to make custom design tweaks, fix template problems, and format your posts more precisely.
  • Find the Right Template. Many free design resources that are easy to plug right into your platform of choice.
  • Layout. The key to good blog design is to strike a balance between content and clutter. Think about utility and user experience when choosing your layout and number of column.
  • Be a Layout Sleuth. It’s possible that you might be able to use a template from any lovely blog design for your own blog.
  • Make It Your Own. Use your blog’s back-end bells and whistles, in combination with your new HTML knowledge, to add your own brand to the design.
  • Go Minimalist. If you’re not design-minded, Minimalist themes often use neutral colors, clean layouts, and lots of white space, making them ideal for easy customization.
  • Further reading

By Collis @psd.tutplus.com

Web design can be deceptively difficult, as it involves achieving a design that is both usable and pleasing, delivers information and builds brand, is technically sound and visually coherent. I’ve put together my 9 principles for good Web design.
  • Precedence (Guiding the eye). When navigating a good design, the user should be led around the screen by the designer. Manipulate position, color, contrast, size, and design elements to achieve precedence.
  • Spacing. Empty space seemed wasteful. In fact the opposite is true. Spacing makes things clearer. Consider use of line spacing, padding, and white space.
  • Navigation. Buttons to travel around a site should be easy to find beside the text of a button should be pretty clear. In a larger site, you might make use of bread crumb trails, sub-headings and a site map.
  • Design to build. Consider things like effect on resizing screen, vertical alignment, and using pure CSS buttons.
  • Typography. Make sure your text sizes are consistent, large enough to be read. Spacing between lines and away from other objects is important to consider. Small columns of text work much better. Justified text tends to create weird gaps which isn’t nice for your eye when reading.
  • Usability. Try to adhere some standard conventions e.g underlined text is expected to be a link.
  • Alignment. Aligning makes your design more ordered. Try to keep things consistently placed on a page, and you may also wish to base your designs on a specific grid.
  • Clarity (Sharpness). Cleaning up shapes, lines, and boxes if you’re creating them in Photoshop, and make sure any text is created using the appropriate anti-aliasing setting.
  • Consistency. Everything should be themed. Heading sizes, font choices, coloring, button styles, spacing, design elements, illustration styles, photo choices, etc.
  • Go Minimalist. If you’re not design-minded, Minimalist themes often use neutral colors, clean layouts, and lots of white space, making them ideal for easy customization.
  • Further reading

By Emily Gonsalves @artblog.emilygnsalves.com

  • Balance. Symmetry tends to create stillness and results in a more static, controlled composition. Asymmetry can give a sense of unrestrained energy.
  • Contrast. Can be between: shape/form, volume, size, value/colour, position, or direction of items.
  • Emphasis. Used to focus the attention of the viewer and add interest.
  • Positive/Negative. Excessive positive space prevents the viewer from focusing and important elements can be overlooked. Excessive negative space can result in a product which appears unfinished or unusually plain.
  • Repetition. Encompasses rhythm and patterns.
  • Movement/Direction. Diagonals tend to create visual movement, as they encourage eye movement in a particular direction.
  • Gestalt/Unity. Grids create a sense of unity and structure. Grouping creates a sense of unity and harmony.
  • Further reading

By Juul Coolen @noupe.com

  • Balance. Ensure the design does not tip to one side or the other.
  • Grid. Columns and spacing improve readability, making a page’s content easier to absorb on the eye.
  • Color. Black and white convey chic and professional, while red makes certain elements stand out and keeps the design from looking dull.
  • Graphics. Great design doesn’t need fancy graphics. But poor graphics will definitely hurt a design.
  • Typography. Web typography is handicapped due to our lack of complete control over the appearance of type on the Web.
  • White space. White space gives text some breathing room and spatial peace.
  • Connection. When a design is inconsistent, its unity can be lost on the user.
  • Further reading

From book 'The Principles of Beautiful Web Design' by Jason Beaird

  • Layout and Composition. An awareness of design relies heavily on understanding the spatial relationships that exists between the individual component of a design.
  • Color. Perhaps the most mysterious of design is the topic of color selection. For creating harmonious color combinations, anybody can choose a set of colors that work well together to complement the overall message of a website.
  • Texture. An aspect that is often overlooked. Texture is the key to create stand out designs. Use of points, lines and shapes to communicate and support your site's message.
  • Typography. The important of typography is self-evident. Type is everywhere, and understanding the mechanics of written language is essential for any visual designer.
  • Imagery. The necessary companions to any well-designed site are the images and illustrations that grace its pages. Finding the right image, learning the basics of cropping, masking, borders, and file formats before we take the final step in our simple design.
Article By : 54BLOGGER
Permalink : http://www.fiveforblogger.com/2011/01/principles-of-beautiful-web-design.html

Overlay-like Effect with J-Query

overlayLikeEffect

Today we will create a slick overlay effect with jQuery that does not use an overlay. The idea is to change the opacity or the color of certain elements in order to make it look like as if we are covering the content with an overlay. This allows to focus certain elements in a web page while making others appear less prominent.

First, we need to define which elements we want to apply the effect to, meaning that we either want to animate the element’s opacity or color, or both. To the elements we want to fade, we will give the class “e-fade” and to the elements we want to change the color, we will give the class “e-color”. For any of these elements, no matter if we apply one or the other, or both classes, we will need to give the class “effect”.

An example for using these classes is the following HTML structure:

<!-- Animates the color -->
<h2 class="effect e-color">Custom effects with jQuery</h2>

<!-- Animates the opacity -->
<h2 class="effect e-fade">Custom effects with jQuery</h2>

<!-- Animates both color and opacity -->
<h2 class="effect e-color e-fade">Custom effects with jQuery</h2>

In our example we will use a menu to trigger the animation events. When we mouse over the menu items, the regarding element’s effects will get executed.

To enhance certain elements, we will have one more class, one that will let us know that these elements should be left untouched by the animations. This will give us the possibility to focus on certain elements.
The class name will be the same like the ID for one of the menu items. That way, we are creating a relation between them:

<ul id="menu" class="menu">
<li><a href="#"><img src="images/1.png" alt="1"/></a></li>
<li><a href="#"><img src="images/2.png" alt="2"/></a></li>
<li><a href="#"><img src="images/3.png" alt="3"/></a></li>
<li><a href="#"><img src="images/4.png" alt="4"/></a></li>
<li><a href="#" id="effect-n"><img src="images/5.png" alt="5"/></a></li>
</ul>
...
<h3 class="effect-n">Vapour around me</h3>


As you can see, the last menu item will receive the respective ID and the h3 will receive a class with the same name. So, when we hover over that menu item, all the other elements (that have the previous effect classes) will be animated, except this one.

Now, let’s look at the JavaScript.
Let’s start by caching some elements:

var $menu = $('#menu'),
$container = $('#container'),
$content = $container.find('.content');


We will add the classes for the effects using jQuery instead of going to each single element in the HTML and adding it “manually”:

$content
.find('p')
.addClass('effect e-fade')
.end()
.find('h1, h2, h3')
.addClass('effect e-fade e-color');


Now we will get all the elements that have the class “effect” and define the OverlayEffect function that will take care of the animations:

var $elems = $(document).find('.effect'),
OverlayEffect = (function(){
//speed for animations
var speed = 1000,
//the event that triggers the effect
eventOff = 'mouseenter',
//the event that stops the effect
eventOn = 'mouseleave',
//this is the color that the elements will have after eventOff
colorOff = '#AAAAAA',
//saves the original color of each e-color element,
//and calls the methods to initialize the events
init = function() {
$elems.each(function(){
var $el = $(this);
if($el.hasClass('e-color'))
$el.data('original-color',$el.css('color'));
});
initEventsHandler();
},
//initializes the events eventOff / eventOn
initEventsHandler = function() {
$menu
.delegate('a',eventOff,function(e){
//relation is the id of the element,
//and the class of related elements
var relation = $(this).attr('id');
animateElems('off',relation);
return false;
})
.delegate('a',eventOn,function(e){
var relation = $(this).attr('id');
animateElems('on',relation);
return false;
});
},
//animates the color and / or opacity
animateElems = function(dir,relation) {
var $e = $elems;
switch(dir){
case 'on' :
//if there are elements on the page with class = relation
//then these elements will be excluded from the animation
if(relation)
$e = $elems.not('.'+relation);
$e.each(function(){
var $el = $(this),
color = $el.data('original-color'),
param = {};
if($el.hasClass('e-color'))
param.color = color;
if($el.hasClass('e-fade'))
param.opacity = 1;
$el.stop().animate(param,speed);
});
break;
case 'off' :
if(relation)
$e = $elems.not('.'+relation);
$e.each(function(){
var $el = $(this),
param = {};
if($el.hasClass('e-color'))
param.color = colorOff;
if($el.hasClass('e-fade'))
param.opacity = 0.1;
$el.stop().animate(param,speed);
});
break;
}
};
return {
init : init
};
})();
/* call the init method of OverlayEffect */
OverlayEffect.init();
});


And that’s it!
I hope you enjoyed this tutorial and find it useful!

Download

http://tympanus.net/Tutorials/OverlayLikeEffect/

Demo

http://tympanus.net/Tutorials/OverlayLikeEffect/OverlayLikeEffect.zip

Written by Mary Lou
Detail Info : http://tympanus.net/codrops/author/crnacura/
Website : http://tympanus.net/

Collection Css Reset

CSS RESET

CSS Reset adalah sekumpulan kode CSS yang dirancang sedemikian rupa sehingga setiap style pada setiap element memiliki nilai default yang serupa. Dengan adanya berbagai browser dengan core yang berbeda, tak heran jika ada beberapa element pada user agent tersebut memiliki nilai yang tak sama. CSS Reset memudahkan web designer untuk mendesign web secara cross-browser dengan memberikan starting value yang sama bagi setiap browser. Manfaat lainnya adalah untuk menghindari bug-bug CSS dengan memberikan default value yang “seharusnya ada” pada masing-masing element. Umumnya bug-bug tersebut berada pada Internet Explorer versi 6 ke bawah. Berikut ini adalah kumpulan CSS Reset dapat anda gunakan untuk memulai CSS anda. Selalu tempatkan CSS Reset di awal untuk mendapatkan hasil yang diinginkan.

Minimalistic Reset — Version 1
As basic as it gets, this global reset employs a wildcard selector to reset the padding and margins on all elements to zero. In my experience snooping around the source code of other designers, this is the most commonly used CSS reset. I see it everywhere..
* {
padding: 0;
margin: 0;
}


Minimalistic Reset — Version 2
This reset is identical to the previous one, but also takes into account all default border treatments, which are effectively neutralized to zero as well..
* {
padding: 0;
margin: 0;
border: 0;
}


Minimalistic Reset — Version 3
This last version of the ―minimalistic‖ reset is similar to the previous two, but also kills the default outline style..
* {
outline: 0;
padding: 0;
margin: 0;
border: 0;
}


Condensed Universal Reset
This is my current favorite CSS reset. It handles all the essentials, and ensures relatively universal default browser-style uniformity.
* {
vertical-align: baseline;
font-weight: inherit;
font-family: inherit;
font-style: inherit;
font-size: 100%;
border: 0 none;
outline: 0;
padding: 0;
margin: 0;
}


Poor Man’s Reset
I have no idea what to call some of these CSS reset rules. I named this one as I did because it seems to focus on a minimal collection of default browser styles. The CSS resets padding and margins on only the html and body elements; ensures that all font-sizes are reset; and removes the border from image links. These are all important aspects of any CSS design, and this reset takes care of all of them. If you happen to know the source of this ruleset, please drop us a comment. Otherwise, check it out..
html, body {
padding: 0;
margin: 0;
}
html {
font-size: 1em;
}
body {
font-size: 100%;
}
a img, :link img, :visited img {
border: 0;
}


Siolon’s Global Reset
Chris Poteet along with ―various influences‖ created this remarkable technique for resetting default browser styles. Chris recommends placing the reset at the top of your style sheet for optimal cascading results. This method omits reset styles involving inline and block display elements. Also, remember to explicitly set margin and padding styles after implementing the reset. Note the unique margin-left 40px; declaration for lists and blockquotes, and the margin 20px 0; for headings, forms, and other elements:
* {
vertical-align: baseline;
font-family: inherit;
font-style: inherit;
font-size: 100%;
border: none;
padding: 0;
margin: 0;
}
body {
padding: 5px;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, ul, ol, dl {
margin: 20px 0;
}
li, dd, blockquote {
margin-left: 40px;
}
table {
border-collapse: collapse;
border-spacing: 0;
}


Shaun Inman’s Global Reset
Although I am not sure if Shaun actually wrote this particular CSS ruleset (although it is likely he did), it happens to be the CSS reset used to neutralize styles for his current, Helvetica/monochrome site. Although I have taken the liberty of restructuring the presentation of this reset for the sake of clarity (I have made no functional changes), this is some pretty tight CSS, implementing a choice set of rules to reset many critical default browser CSS styles.
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, table, th, td, embed, object {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img, abbr {
border: 0;
}
address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
font-weight: normal;
font-style: normal;
}
ul {
list-style: none;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.0em;
}
q:before, q:after {
content: '';
}
a, ins {
text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
font-weight: normal;
font-size: 100%;
}
q:before,q:after {
content:'';
}
abbr,acronym { border: 0;
}


Yahoo CSS Reset
The folks at Yahoo! have also developed their own browser reset styles. As with other reset styles, the Yahoo! Reset CSS eliminates inconsistently applied browser styling for many key (X)HTML elements.
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,img {
border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-weight: normal;
font-style: normal;
}
ol,ul {
list-style: none;
}
caption,th {
text-align: left;
}


Eric Meyer’s CSS Reset
As discussed in the original article, CSS guru Erik Meyer set forth to create a universal set of reset styles. This is heavy-duty stuff, effectively neutralizing virtually every significant aspect of default, browser-applied CSS rules. This reset ruleset is far-reaching, resetting many different CSS properties. Keep this in mind during subsequent CSS development. If you experience unexpected, unexplainable behavior happening with your styles, begin by investigating and eliminating suspected aspects of this code (or any newly added reset styles) as the possible culprit — you’ll thank yourself later.. ;) In the meantime, I have taken the liberty of reformatting the presentation of Eric’s code. Rest assured, the rules have merely been rearranged. Functionally, the code is identical. Update: Eric’s site now features an official Meyer CSS Reset page, serving as a permanent location for the most current version of the reset code.
html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
vertical-align: baseline;
font-family: inherit;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
outline: 0;
padding: 0;
margin: 0;
border: 0;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
background: white;
line-height: 1;
color: black;
}
ol, ul {
list-style: none;
}
/* tables still need cellspacing="0" in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
font-weight: normal;
text-align: left;
}
/* remove possible quote marks (") from &
*/
blockquote:before, blockquote:after, q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}


Condensed Meyer Reset
Although I am uncertain as to the original source of this particular CSS reset, it appears as if it is a condensed, slightly modified version of the Meyer reset. Many of the same declarations are made, and many of the same styles receive neutralizing treatments. Many attributes are not mentioned, however, resulting in more
streamlined, less invasive reset collection. Note the duplicate declarations for he heading attributes (e.g., h1 – h6), which seems to prevent font-weight and ont-size normalization from affecting paragraphs, divisions, and the other non-heading attributes addressed in the first declaration.
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
padding: 0;
margin: 0;
}
fieldset, img {
border: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
ol, ul {
list-style: none;
}
address, caption, cite, code, dfn, em, strong, th, var {
font-weight: normal;
font-style: normal;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
font-size: 100%;
}
q:before, q:after {
content: '';
}
abbr, acronym {
border: 0;
}