Julien Melissas

Julien Melissas


This is my blog.


I can’t promise anything, but I hope to write in here about Code, Music, Food, Cars, Life, and other stuff. Enjoy!

Navigation
TagSASS
Featured

Code

maybe-rgba() sass function

Posted on December 16th, 2017.

Earlier today I found myself in a funny situation. I have a sass mixin than adds a screen to divs which expects 2 arguments: $color and $opacity. From there, it takes those values and adds the appropriate code. Only problem, is I’m using my new customizer library (coming soon to a GitHub near you, I promise) which allows for color...