Create the Perfect Website Layout System

create-the-perfect-website-layout-system

If you are web developers or web designers who are looking for ways that can create sites that work on any device, this article is for you. In this opportunity, we are going to discuss about how to create the perfect website layout system. Take a look!

Multi-Column

You may not see multi-column as the most-used CSS columns in many websites. This is quite surprising, since it’s one of the most highly flexible techniques. In fact, this would be terribly suitable to be used by those who want perfection for lists of links, like navigations, footers, search results or photo blog.

However, multi-column may not be beautiful to be used for long passage article. This is because CSS columns will require people to scroll down and up again while reading.  The only wat to present your article nicely in CSS columns is by convincing your users to scroll horizontally.

To create a simple horizontally scrolling multi-column layout by setting the height of the article to a maximum of 100 percent of the viewport, and by telling it to use columns of no less than 20em. These few line is what it takes to create good multi-column:

article {
columns: 20em; /* never be smaller than 20em */
height: 100vh; /* be as high as the viewport */
width: 75vw; /* be 75% of the width of the viewport */
}

Flexbox and the Viewport

It may seem a bit like float, but much more powerful. With Flexbox, you can tell items what to do with any leftover white space. You can leave it at one of the ends, you can distribute it evenly between (or around) them, or you can choose to stretch the items – which basically gets rid of the white space. You can use this code to simply fit as many items on each row as possible.

ul {
display: flex;
flex-wrap: wrap;
font-size: 2.5em;
}

Viewport-relative units

You can use the vw unit, instead of using em and media queries to make sure our layout works in different viewports. However, in terms of text, viewport has a serious usability problem with using the viewport width as a unit for text though. At one point it can become too small to read on very small screens. The problem gets bigger when the user can’t increase the font size.

To avoid the font size becomes too small, you can use a calc function: font-size: calc(1em +1vw).

Viewport Calculations

To fit any text into any viewport with CSS, there’s a brilliant CodePen, such as explained in this line below:

font-size: calc(4vw + 4vh + 2vmin);

With this specific calculation, this one sentence, set in a certain font, will always fit in any viewport.

Quantity Selectors

By applying this technique, you can order the browser to behave in a certain manner. Instead of designing every possible layout for every possible screen size, you let the browser and the content figure it out together.

Container Queries

We can’t use element queries, but we might be able to use container queries. However, you cannot style the element itself; you could only style its children which cause something like this:

article:media( min-width: 30em ) screen {

}

Quantity Selectors

Quantity selectors are quite handy for search results, where you don’t know if there will be one single result or hundreds of them. Moreover, you can also change the way they look through the number of results. The selectors that make this possible look quite complex at first. At first, I didn’t understand how they worked at all. You can apply a fantastic job in explaining quantity selectors in this article:

article {
flex-basis: 100vmax;
}
article:nth-last-of-type(n + 2),
article:nth-last-of-type(n + 2) ~ article {
flex-basis: 50vmax;
}
article:nth-last-of-type(n + 6),
article:nth-last-of-type(n + 6) ~ article {
flex-basis: 33.33vmax;
}

A Simple Guide for Designing Better Buttons

simple-ways-in-designing-better-buttons

In website development, the role of buttons is important in determining the next actions. Moreover, having a good button design will automatically improve your user experience. If you’d like to take a look on how to create better buttons, you can follow several steps below:

Make Buttons Look Like Buttons

With visual cues, people can determine the click-ability, then understand that an element is a button. Due to this, it is important to use proper visual signifiers on clickable elements to make them look like buttons.

  • Shape
    For a long time ago, square or square with rounded corners is the most popular button’s design. Due to this, users are very familiar with this button shape. Even though, in some cases, the button shape can be circles, triangles, and etc., depending on the style of the site or app. However, using unique ideas to replace the traditional shapes will be a bit riskier. The main point is to make sure that people can easily identify each varying shape as a button.

But what elements can help you identify icons as buttons? There are two elements that can        give clear and distinct labels to icons as buttons. First, be consistent about the shapes to              provide a more familiar experience for users. The picture below demonstrates this point              perfectly.

  • Shadows and Highlights
    Shadows will help you a lot in making the element stand out against the background. Moreover, with shadows and highlights, you can easily identify an element as a tap-able or clickable. Since the effect makes the elements look like as if they can be pressed down.

Make It Easy for Users to Interact with Buttons

The next step is to make sure that your users have a good experience when they press the buttons. This includes size and visual feedback of buttons.

  • Size and Padding
    A good button should have bigger size than a person’s tap size. This will ensure the buttons you design are large enough for people to interact with. To choose a proper size for your buttons, you can rely on the MIT Touch Lab study. This study reveals that the average size of finger pads is between 10-14mm and fingertips are 8-10mm, making 10mmx10mm a good minimum touch target size.
  • Put Buttons Where Users can Find Them
    Locate your button in an easy to find area. Don’t make your users hunt for buttons.
  • Location and Order
    When it comes to web-based apps, you should determine about which placement truly works best for users. The right way to find out is by testing. If you design mobile navigation it’s worth paying attention to the best practices for buttons location.

Fascinating Features in Adobe Photoshop CS6

Adobe CS 6

Adobe Photoshop may sound familiar in your ear, and now they have made the version of CS6 which some of you may have known about it. As it is stated before, adobe Photoshop has reached its latest version, CS6.  The development of it is surely will satisfy its users, especially if you are a web designer. However, if you still don’t know what actually CS6 can offer you can find out by reading the article below.

Acceleration in Photoshop CS6

CS6 provides tremendous acceleration in many areas. Therefore, the liquefy filter, previously a sluggish experience, is created to provide smooth, real-time smearing even with brushes up to the new maximum limit of 15,000 pixels; the new oil paint feature adds a paint-like texture, with controls that operate on the full-screen preview in real time. But all of the above advantages can only be optimized when you have a fast enough processor and graphics card, although CS6 can also be operated on windows XP/Mac OS X 10.6 with just 1 Gb RAM, but a better RAM, help you operating it well.

The new features

No one will ever doubt about CS6 interface, as it presents you with four base colors, from near-black to pale grey, so you have more colors than in the Photoshop. Everything has been subtly tweaked, from the hundreds of redesigned icons (the Pen and Lasso tools now indicate their active hotspots more clearly) to a crisper, more consistent layout.

Photoshop CS6 Filters

If you expect to find a new tool in Photoshop CS6, you will find a Content-Aware patch tool, which takes the technology introduced in CS4 (Content-Aware Scaling) and CS5 (Content-Aware Fill) and extends it to a tool that allows us to select move or extend objects in a scene, patching their original location more or less seamlessly. In practice, the results depend very much on having the right image, it’s a great idea, but doesn’t always come up with the goods. Moreover, a major new filter is Adaptive Wide Angle, which allows you to correct camera distortion simply by drawing over lines that should be straight. It even can stitch panoramas with multiple perspectives to be corrected into a single landscape shot.