CSS Logos: Netflix logo

I'm a full-stack developer from South Africa πΏπ¦. I love writing about JavaScript, HTML and CSS.
Search for a command to run...

I'm a full-stack developer from South Africa πΏπ¦. I love writing about JavaScript, HTML and CSS.
This CSS logo series is soooo good (and creative).
All your CSS art is amazing and makes me want to get into making some myself. Keep up the great work!
Super happy to hear that Aaron! Looking forward to seeing your work π
CSS-Pixel Art has always been on my to-do list and now, this series of articles on famous logos has motivated me to start learning CSS as quickly as possible. Thanks for writing this blogpost!
Wohoo can't wait to see your works! π
Thank you Aliyu! So happy to hear you enjoy them
Most of you know me for my consistency, a golden arrow in my blog series. I've written 1000 articles in 1008 days! Almost an article a day, and my honeymoon was the only holiday I ever took. I'm super proud of this achievement; it has been a fantasti...

It's not the first time I'll be talking about community. I think it's an essential aspect of any successful tool. This shows in my previous explorations of Astro, Medusa, and now Vendure as well. All these products thrive in a super open, welcoming, ...

The cool part about Vendure is how easy it is to set up and how abstract each layer is. Basically, we get the following elements: External database Server Worker Admin UI Frontend While this is amazing, it also brings a bit of complexity when it co...

The previous article looked at customizing Vendure on a data and process level. In this article, we'll look at customizing emails, as they are often a big part of a webshop system. We'll be looking at two different layers of customization for customi...

Even though Vendure is a pretty significant project out of the box, in some cases, we might want to go in and modify some elements to work to our specific use case. In this article, I'll take a high-level look at some elements we can customize within...

For today's article, we'll recreate the iconic Netflix logo. While working on this logo, I found it was quite an easy one.
Super fun to try yourself π
Let's take a look at the logo.

The logo is built up by three sticks of the same size; however, the middle one casts a shadow and is skewed.
Then at the bottom, it's good to note the logo is a bit rounded off.
My idea is to leverage borders for the two side pillars and pseudo-elements to make the skew stick + the rounded bottom section.
Let's create a simple box and set the borders left and right to get started.
.netflix {
height: 15rem;
width: 3rem;
border-left: 3rem solid #e50914;
border-right: 3rem solid #e50914;
position: relative;
}
It's important to note the 3rem will be the size for each stick.
So far, we get the following styled element.

Let's add a before element to add the third skew line. The main idea is that this can be simply the width and height of the box.
&:before {
display: block;
content: '';
width: 100%;
height: 100%;
background: #e50914;
transform: skewX(21.5deg);
box-shadow: 0 0 30px black;
}
We can see we skew the element to fit the edges and add a bit of box-shadow to cast the shadow on the sticks below.
The last thing we need is the bottom rounded effect. We'll leverage a round box that we offset from the bottom.
&:after {
content: '';
width: 15rem;
height: 2rem;
background: black;
border-radius: 50%;
display: block;
position: absolute;
left: -200%;
top: 98%;
}
Which result in the following CodePen.
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter