Web design focuses a lot on visual appeal and designers rely on CSS to achieve this effect. CSS is a style sheet language that is used to determine the layout of a document like a webpage, written in a markup language.
In practice, your CSS “tells” your HTML file how elements should be displayed on a web page and how they should behave. It saves a lot of work since you can use it to change the layout of several web pages at once.
As a front end developer, the type of CSS technique you use can have a significant impact on how your web product, like a web application for example, is perceived by users.
In this post, we are going to discuss CSS techniques that can be vital to your web design.
The human eye is attracted to motion. In web design, the more natural and fluid motion is, the more pleasant the user experience. To accomplish this effect, web designers have been putting a lot of emphasis on the how different elements transition on web pages.
Transitions in lead capture pages like web forms are a good example. Everything from the color to the structure of webforms can have an effect on leads. And lately, designers have started enriching the whole experience (filling the form) itself by using subtle animations:
If you have ever played Super Mario brothers, you probably noticed how the hills in the background moved at a slightly different speed compared to all the other characters in the foreground. It gave the gameplay a lot more depth than games with static backgrounds.
And now it has become a hot trend in web design as well.
The design trend, known as parallax scrolling, is where a web page’s background moves at a slower speed than the foreground.
When used on a website, a parallax scrolling effect gives users a sense of action and depth to:
To create animation in web design, designers often turn to using CSS in HTML. However, not every pattern and shape can be created with these alone. This is why SVG (Scalable Vector Graphics)are a huge part of web design today.
Supported by all modern browsers, SVG is an XML based file format that allows developers and designers to create dynamic graphics which are perfect for high resolution displays required for computers and mobile devices. Additionally:
To illustrate consider Fleximize Squad. The financial lender’s website is based entirely on SVG animations and it combines this with storytelling to give users a more dynamic experience.
Not a lot of website used vertical sliding navigation, but the trend has recently picked up steam again. The trend is a refreshing twist from traditional web design, like horizontal navigation menus. Plus:
To illustrate, consider the Arbor Restaurant website. The fixed vertical navigation bar is placed on the left, which is pretty good considering that our eyes usually gravitate in this direction when we view a web page. And since the navigation bar is fixed which keeps it visible and accessible anytime while scrolling.
Considering that the average attention span of the typical web user is less than a few seconds, it isn’t surprising why designers are focusing more on typography in as they are today. Sure, you might argue that images can also have the same effect in drawing user attention; but, keep in mind, as soon as visitors land on your page they expect a good experience.
They want to know what’s in it for them. And your choice of typographic elements might just make them stick around to read the rest of what you have to say on your webpage.
On that note, here are a few techniques you can use to improve your typography:
No one color palette reigns supreme this year in CSS. Web designers have unleashed their creativity by experimenting with different hues, combinations and contrasts. Here are some of the more popular techniques that we saw:
So far, we saw web designers use creative ways to make web interfaces more interesting from hover animations to SVGs and vertical scrolling navigation. But all of these represent specific parts of user interfaces and specific user experiences.
Recently, some designers have introduced ways that make whole webpages experiences themselves. As an example, consider this website showcasing designer Nick Jones’s portfolio. Unlike a typical scrolling view, the interface flips, rotates and zooms as you navigate through it.
Cross screen compatibility is fast becoming a priority in web design. And some designers are experimenting with different layouts and viewing experiences to this effect. Split viewing ports are an example.
A viewport is an area of a web page that is visible to visitors. It’s size varies with the device. To make viewing experiences consistent across all devices, designers are getting creative in tinkering with interfaces.
For example, consider the viewport in UX designer Melania David’s personal website. The layout is split in half with the content on the right and section titles on the left. The best part is when you scroll right to the end and a chopped version of the illustration (hand) comes together in time to the scroll.
Animations that clue users into the actions that can take on an interface is a great way for designers to improve navigation on their web pages. Animated effects like spin, bump or color or text changes make users focus on the next action they can take and also makes the experience smoother and more fluid.
To illustrate, consider the Humaan website. The logo at the top left animates (changes) to the home button as you hover the cursor over it.
Technology is in a constant state of flux. And as web design practices change, so does user demand. If you want your web layout to be impressive enough for visitors today, the CSS techniques mentioned above can give you a pretty good head start.
So….. Not so much CSS techniques to use as much as design trends to embrace. Most of us on the Front-End have very little creative control over what goes into a site. We are service providers working for a client. Maybe the resolution for 2017 is for everyone to finally learn the difference between developer and designer.
This aren’t CSS technics, are more interactions and design aproaches. CSS Technics shouldn’t be more technic? like code technics?
And also grids! The ‘display: gird;’ stuff, I mean. Not to be dismissive of the article or anything, I genuinely enjoyed reading and actually learned new stuff (that point about colours was something I never thought about before), but IMO the introduction of native (framework-free) CSS grid layouts has been the single most important thing that happened in the web design world in the past year. Their effect might not be the most visible to users, but man do they simplify the creation of any design.
Useful. Thanks