Logo - Albert Walicki

Aurora UI - how to create with CSS

A new trend in UI design by developer point of view

Published:

css
Aurora UI example of usage

Design trends are changing like new javascript frameworks - at least one a day. 😄 Today I would like to introduce you to another trend named by my friend Michal Malewicz. it’s called Aurora UI, and you can find here an article written by Michal.

let’s take a look at it.

What is the Aurora trend?

This trend is not that new. For example, Stripe has been using it in their header for a long time. it’s getting more popular on services like Dribbble or Behance.

Stripe header made with blurry shapes
Stripe.com

it’s characteristic features are:

  • blurred shapes
  • similar colours
  • smooth transitions between colours

How to create it with CSS?

There are at least three ways to create this effect.

  • blurred shapes
  • blurred gradients
  • blurred images

Blurred shapes

The first method is to create three ovals overlaying on each other. Create big ones and position them:

  • first one on the top of the container
  • two in the bottom corners

Then we need to add filter: blur() and lower the opacity slightly.

HTML
CSS
<div class="wrapper">
  <div class="base one"></div>
  <div class="base two"></div>
  <div class="base three"></div>
</div>
Preview

Radial gradient

The second method is to use gradient colours! Instead of solid colours, we can use a radial-gradient to create our effect.

let’s add three radial-gradients from a solid colour to transparent:

  • top left
  • top right
  • bottom left
HTML
CSS
<div class="wrapper"></div>
Preview

Blur an image

The easiest way to create this effect is... to choose a good image and add some filter: blur(). 😄

HTML
CSS
<div class="wrapper">
  <img src="ourImg.png"/>
</div>
Preview
Image converted into Aurora UI trend

Animated background

You can also animate your backgrounds to make them look better! Here is a small example of rotating backgrounds. 🚀

I used transform:rotate(1turn) translate(100px) rotate(-1turn); to create movement on the circle path.

HTML
CSS
<div class="wrapper">
  <div class="base one"></div>
  <div class="base two"></div>
  <div class="base three"></div>
</div>
Preview

You can play with all backgrounds here. 💪

And that’s it! You can combine Aurora with glassmorphism to create an even better UI.

Thanks for reading!

Read more

single-div
Animated house build with single div

How to Fall In Love With Single Div Illustrations

A short tutorial on how to create images

Read more
Logo - Albert Walicki

Hello, I'm a frontend developer with over six years of experience, freelancer. I'm also a mentor for junior frontend developers. I wrote a book for Junior Frontend developers called Frontend Unicorn.

BlogGlassmorphismAurora UIShapes in CSSUnique css illustrations

Get in touch!

Have a question or need a project? Contact me!

© 2020-present Albert Walicki. All Rights Reserved

Policy