Category Archives: CSS3

Web Design Trends for 2013

web design trendsAs we enter another year in the world of web design and the changing landscape of technology and social media, it’s clear that programmers and social media strategists, have come a long way. From the first hyperlink and alt tagged jpeg, to HTML5 sites and Content Management System (CMS) programs, like WordPress, that simplified web page building, the trends that have remained popular in web design have been ones that were meant to make websites easier to access through various devices, and easier to create. Ali Qayyum, a regular contributor for Smashinghub.com, recently released his top six trends for 2013. Expanding on his predictions for 2013 are included examples of how a few of these trends work in the world of web design, so the novice designer has a more clear idea of how these trends are put into practice.

Focusing Less On Branded Design

This trend was likely not favored among marketing agencies at first, but is beginning to make sense more and take hold. Qayyum thinks of it as telling branded design to take a hike. If you are putting less emphasis on the brand design of a company, you will ultimately be forced to focus more on the products and more meaningful content that is associated with selling the product. Several websites accomplish this design well; more notably, car websites like Freeway Chevrolet or retail sites like Macy’s. The idea behind this trend is to put the focus on what the company sells, rather than on the company itself.

Responsive Design

responsive web designResponsive design is when a design concept is created to look more attractive on a

new device, like the tablet or on a smartphone. The size and amount of elements will vary depending on whether you are searching for a site on your smartphone or on your laptop. You might design a site that has less text on the home page, larger buttons and less distracting graphics, so the home page can convert to a tablet or smartphone format with more ease. SocialDriver.com says sites like BostonGlobe.com and FoodSense.ie accomplish this by creating good navigation bars and simple text easy to read on the computer, tablet or smart phone.

Vertical Scrolling

Similar to the responsive design trend, vertical scrolling, which is really the easiest way to look through a site, has been adopted over horizontal scrolling or even clicking through to multiple pages. This trend is likely because most users who access information on their tablets or smartphone prefer to scroll with their finger, vertically and the less you have to change in a site that is being converted for different formats, the better. Most sites like Mashable.com, SmashingHub.com and others scroll vertically.

Other trends that Qayyum mentioned, like stylized typography and Parallax scrolling are important changes that have taken the world of design by storm in recent years, and certainly the development of touch-sensing keys on hand-held devices merged a site’s design with its function and style, which is what every designer hopes to accomplish when executing a design.

5 Reasons to Redesign Your Website with a Responsive Web Design Format

Responsive Web Design

Responsive Web Design can engage your customers more by giving them a friendlier user-interface.

What is responsive/adaptive web design?

Responsive web design (or sometimes referred to as adaptive web design) is the process of making a website that will adapt appropriately to any screen size. From desktop, to tablet, to mobile phone, your website will look and feel appropriate to the device it’s being viewed upon.  As screen sizes become smaller, a responsive website re-prioritizes content and modifies its design on the fly to meet the needs of users on any given device, thereby presenting a friendlier user-interface.

Here are 5 reasons to make your website responsive:

  1. Eliminates the need to create a mobile-only website.
  2. It’s optimized for performance on mobile devices.
  3. No need to update your mobile website and your desktop website when it’s all in one!
  4. The user interface experience is better across all devices.
  5. Helps you rank higher on the search engines! Yes, Google prefers responsive sites!

If you are planning to redesign your website I recommend making the upgrade to a responsive one. Unfortunately, redesigning your style-sheets and updating your current websites HTML to become responsive can be as expensive as getting a new website created. It is much more cost effective to make a new website responsive from the start, and that’s why I encourage all new web design clients to make their site adaptive.

Want to see it in action? If you’re on your desktop computer (or laptop) adjust the size of your browser to different sizes and you’ll see the website readjust according to the screen size.
That’s responsive web design in action. I’ll be recreating my main website (reelWebDesign.com) to be fully responsive soon, so keep an eye out. If you’d like a sneak peak to see what it will look like just email me.

By Peter Marino

Typography Tutorial: Typography as a Designer’s Declaration of Independence: A

Typography
Tired of using the same old standard fonts in all your web pages? For too long now basic fonts like Georgia, Verdana and Arial have ruled the day on most websites. More than ever, modern design aesthetics demand variety to allow your web page to be notable and declare a truly unique entity. Use the below typography tutorial to make your website unique today!

@Font-Face

Until @font-face showed up in the CSS world, however, there simply wasn’t a reliable method of including unique fonts that would be viewable through all different web browsers. All the major browsers, Chrome, Firefox, Safari, and Internet Explorer now support @font-face, which has lead to a proliferation of new stylistic options without resorting to images for fancy fonts.
{NOTE: This will also help your search engine optimization since the text will be legible by the search engines. This is even more important if the fancy font’s you want to use are being used for H1 headers as opposed to the old method of using images for fancy text headers.}

Choosing a Font

The proprietary rights of font types actually made for one of the big stumbling blocks early on in the development of the @font-face approach. Simply put, not many open source fonts cleared for web use were available until recently.
If you’re purchasing a font, you will need to make sure it comes with a web license, otherwise you could be in violation of intellectual property rights. A simpler solution—especially if you’re working on a budget—is to choose from the many free web fonts available that have sprung up in recent years. Many users enjoy the sites Font Squirrel and Fontex, but Google has also joined in the free font’s game, offering a vast library of open source fonts through a very easy to use platform.

Using @Font-Face

Now that you’ve selected your font, installing it into your CSS style sheet is remarkably easy. All you have to do is include a font-specific rule in your style sheet, referencing the files in a very similar manner as you would an image. This means that you will need to upload your font type to your server in order for your style sheet to access it (unless you are using Google Fonts, which will allow you to source the font directly from its library).

For this example, let’s say we’re using one a font titled “Happy_Monkey”:

@font-face {
font-family: 'Happy Monkey', Arial, cursive;
src: url(/happymonkey.otf);
}

With this code you’ve told your style sheet about a font you’d like to use (“font-family”), and where it can find it (“src”). Here it’s important to note that different browsers recognize different font types. All major browsers, however, recognize “OTF” and “TFF” font types, so you are best sticking to those two.

Now that you’ve told your style sheet about your font, you’ll need to tell it how you’d like to use it. For example, if you’d like to use it as Heading 1, use this code:

h1 {
font-family: ‘Happy Monkey’, Arial, serif; font-weight: 400;
}

If you’d like the font for your body text, simple change the “h1” to say “body.” If you’d like to designate the font for all your text, insert something like this:

body, h1, h2, h3 {
font-family: ‘Happy Monkey’, Arial, serif; font-weight: 400;
}

Please note that’s it’s important to include default fonts so your text will still appear in a manner acceptable to you. In the above code, if “Happy Monkey” failed to load the font would have appeared as “Arial” instead.

Conclusion

The @font face rule is useful, stylistic and easy to implement using CSS3. Designing a website has become more personalized than ever. Enjoy your new tool for independence and personalization!

By: Peter Marino
Peter Marino is the chief designer at reelWebDesign.com. He’s a proficient HTML5 web designer who matches design with the marketing direction of the individual or company who hires him. He can be reached at: peter@reelwebdesign.com. Peter is also for hire as a web design writer.

How to Modify Images or Backgrounds Across Your Website With Simple CSS Code

CSS3Using CSS, you can add effects to your website’s design to enhance its appearance, such as stitched or rounded borders, shadows, and background images. This can all be done with simple CSS3 coding.

For the sake of example, let’s begin with a blank box that you can add these effects to. After that, we will examine how these can be applied to images. You can start by adding a div tag to your HTML, with class=”customclass”.

It will look like this in your HTML file:

Then go into your stylesheet and define your custom id or class.

Here are some basic attributes to get started:


customclass {
background: #55ccaa;
position: relative;
width: 500px;
height: 400px;
margin: 20px;
padding: 10px;
}

BORDER EFFECTS

Thanks to CSS3, adding rounded corners to your box or image is simple.

All you need to do is write this code inside your custom class or id (this can be added to the “customclass” in your css file you just made:

border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;

Your box should now have rounded corners. It is important to note that many of these effects will not show properly in Internet Explorer versions prior to version 9.

If you want to add a stitched look to your box, you will need to add two things: the “border” property, and the “box-shadow” property:

border: 2px dashed #ffffff;
box-shadow: 0 0 0 6px #55ccaa;
-moz-box-shadow: 0 0 0 6px #55ccaa;
-webkit-box-shadow: 0 0 0 6px #55ccaa;

The border property adds a fancy border around your content, which is dashed to give it a stitched appearance. Other border styles you can experiment with are solid, dotted, double, groove, ridge, inset, and outset.

The box-shadow property is used here to create a solid line around the dashed border to help with the stitched look, but it can also be used to add a realistic shadow beneath your box. To add a shadow effect, simply add a second shadow in your box-shadow code, so it looks like this:

box-shadow: 0 0 0 6px #55ccaa, 2px 1px 6px 4px rgba(10,10,0,.5);
-moz-box-shadow: 0 0 0 6px #55ccaa, 2px 1px 6px 4px rgba(10,10,0,.5);
-webkit-box-shadow: 0 0 0 6px #55ccaa, 2px 1px 6px 4px rgba(10,10,0,.5);

IMAGES Let’s say you want to keep your new div but put an image in the background.

First, find the dimensions of the image and use those values for the “width” and “height.” Then, change your “background” property like so:

background: #55ccaa url(‘your.image/location.jpg’) no-repeat;

If you want all the images on your page to use these effects, you don’t need to add a div or any HTML at all. Simply add all the CSS to the “img” tag in your stylesheet like so:

img {

border-radius: 10px;
border: 2px dashed #ffffff;
box-shadow: 0 0 0 6px #55ccaa;
-moz-box-shadow: 0 0 0 6px #55ccaa;
-webkit-box-shadow: 0 0 0 6px #55ccaa;
box-shadow: 0 0 0 6px #55ccaa, 2px 1px 6px 4px rgba(10,10,0,.5);
-moz-box-shadow: 0 0 0 6px #55ccaa,2px 1px 6px 4px rgba(10,10,0,.5);
-webkit-box-shadow: 0 0 0 6px #55ccaa, 2px 1px 6px 4px rgba(10,10,0,.5);
}

There you go, a simple but helpful tutorial about using the latest CSS3 styles to your HTML5 website with only minor effort.

Simple as that!

By Peter Marino, Chief Designer and COO of reelWebDesign.com, an HTML5 Web Design company in NYC.