Alexander Skogberg

UX, Web & Design

To content

Blog

How I write CSS

It takes one day to learn and a lifetime to master. Yes, I’m talking about CSS.

During my roughly six years doing web development, I’ve written some crappy CSS. Luckily, I’ve improved to the point that I feel confident writing this post.

So, here’s my advice on how to write CSS.

Use a preprocessor

If you’re a web developer, you’ve most likely heard about CSS preprocessors such as LESS and SASS.

SASS logo

In recent years, they’ve pretty much become standard from what I’ve seen at clients I worked with and colleagues I’ve talked to.

I started using SASS a few years ago and it still amazes me. It saves me a lot of time every day.

SASS is a scripting language that outputs CSS. It’s basically just like CSS, but turbocharged with features from object-oriented programming like methods, global variables, abstract classes, inheritance and so on.

Read all of How I write CSS.

What Helped Försäkringskassan Win Best Website In Sweden

Time for congratulations (and some bragging).

During this year’s From Business To Buttons conference by my employer inUse, I was told that Försäkringskassan’s new website had been voted number one in Sweden by Internet World.

A prestigious award. Congratulations Försäkringskassan!

However, I was ecstatic to hear that my lecture on Mobile First that I held for them (and which they video recorded) in December 2014 had been used as a checklist throughout the project.

Mobile First Lecture

It was such a great honor to hear that my input obviously had an impact on their success.

Visit forsakringskassan.se

/Alex

Nine Things I Wish I Knew At 20

On May 22, I’m turning 30. It should be just another birthday, but it feels different.

Even if you’re far from old at 30, you can’t really view yourself as being that young anymore. 30 is also an age where many people has made or are about to make major life decisions such as getting married or having kids.

One way or the other, things change and it can make you reflect about much more complex topics than if you should get a PS4 or an Xbox One.

With that said, here are nine things I wish I knew when I was 20 years old. Some of them I actually knew, some of them I didn’t and one or two of them I might have read in a post similar to this one.

1. Spend time with your parents

A tough realization when growing up is that your parents won’t be around for as long as you would like. It’s a depressing thought, but it makes you appreciate the time you have with them more.

In 2005, I moved a long way from home for college studies. During my first winter holiday back home, it dawned on me that I would never see my parents on a daily basis as I had done for the past nineteen years.

Since then, I’ve made sure to spend a lot of time with them during school holidays, vacations and other weekends. They are still here, still healthy and I love having them around more and more.

2. Hang out with your friends

When I moved away from home, I thought I would lose touch with my childhood friends. I knew we would hang out again from time to time, but I thought we would quickly grow apart and lose our special bond.

Luckily, I was wrong. During the following years, we spent more and more time together than I would have ever imagined. We didn’t grow apart, we continued growing up together.

Today with kids, jobs and some of us living in different countries, things have changed. We don’t hang out as much as I would like to, but we laid a solid foundation that’s still there. It’s nice.

Read all of Nine Things I Wish I Knew At 20.

New website for Danger Avenue live

The circle is complete! I finally made a new website for the rock band Danger Avenue. It only took five years…

Danger Avenue Website

In the fall of 2010, I had recently graduated college and was looking for work. I came to the conclusion that it wouldn’t hurt my chances if I’d get better at web design.

Luckily, my friends in Danger Avenue were in need of a new website that they could manage on their own. I dove in head first and after a few weeks my first proper website went live, cool.

Background

With this year’s upcoming release of the band’s sophomore album, Danger Avenue needed to step up their online marketing.

Read all of New website for Danger Avenue live.

Advice for broadening your skills

Last fall I spent five weeks traveling around the United States.

During my trip, which you can read about at skogcoast.alexanderskogberg.com (Swedish), I met a few old classmates. We discussed a lot of things during my visit, one of them being work.

During one of these conversations, a classmate said:

“Whoa, you actually learned new things since graduation! I’ve probably gotten worse…”

My classmate was slightly joking, but he made a point.

Since graduating in 2010, I’ve gotten lots of experience in things I didn’t touch at all in school. Things I couldn’t imagine I’d be working with now.

I was certain that I’d end up working solely on design and development of mobile apps. Instead I’ve gotten knee deep in front end web development, worked with people with visual impairment and held courses and lectures on subjects I knew NOTHING about in 2010.

How did I end up broadening my skill set? Here’s three tips.

1. Prepare to adapt

Read all of Advice for broadening your skills.