---
title: "Discussion on \"Customizable traffic light with CSS (SASS @each/@for)\" | Hashnode"
description: "Discussion on \"Customizable traffic light with CSS (SASS @each/@for)\". Today let's save a lot of typing by using SASS' @each and @for in combination with lists and maps in order to build an easily customizable style for a traffic light.\nRead the full article or watch me code this on Youtube:\nhttps://www.youtube.com/watc..."
url: "https://hashnode.com/posts/customizable-traffic-light/5ff9cdf2aa5c467fe155895d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Customizable traffic light with CSS (SASS @each/@for)](https://crayoncode.hashnode.dev/customizable-traffic-light?utm_source=hashnode&utm_medium=feed)

Today let's save a lot of typing by using SASS' @each and @for in combination with lists and maps in order to build an easily customizable style for a traffic light. Read the full article or watch me code this on Youtube: https://www.youtube.com/watc...

Jan 9, 2021 · 6 min read · crayoncode.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#ui](https://hashnode.com/tag/ui)
-   [#sass](https://hashnode.com/tag/sass)

## Written by

[crayon code](https://hashnode.com/@crayoncode)

@crayoncode

  
[View profile](https://hashnode.com/@crayoncode)

Web Application Architect

I'm a software architect for web applications working mostly with Node.js, Vue.js and inevitably also with HTML, (S)CSS and many other technologies that connect to it.

## Responses 2

Markdown supported · ⌘↵ to post

[Khaled ayéd](https://hashnode.com/@KhaledDEV)

[Jan 9, 2021](https://hashnode.com/posts/customizable-traffic-light/5ff9cdf2aa5c467fe155895d/comment/5ffa2dc3aa5c467fe1558f35)

Good job!

[crayon code](https://hashnode.com/@crayoncode)

[Jan 10, 2021](https://hashnode.com/posts/customizable-traffic-light/5ff9cdf2aa5c467fe155895d/comment/5ffa2dc3aa5c467fe1558f35#reply-5ffae601aa5c467fe155960b)

Thanks a lot!

[Braydon Coyer](https://hashnode.com/@braydoncoyer)

[Jan 9, 2021](https://hashnode.com/posts/customizable-traffic-light/5ff9cdf2aa5c467fe155895d/comment/5ff9f4dba538d00135154d48)

Loved it. Great job and thanks for sharing!

[crayon code](https://hashnode.com/@crayoncode)

[Jan 10, 2021](https://hashnode.com/posts/customizable-traffic-light/5ff9cdf2aa5c467fe155895d/comment/5ff9f4dba538d00135154d48#reply-5ffae5f6a538d00135155738)

Thank you so much!
