Relative Content

Tag Archive for sass

How to simulate a Gaussian shadow with CSS gradients, using SASS?

I want to make an SCSS function that creates gradient color stops that transition between two colors, using a Gaussian curve. This would be useful to simulate things like shadows and glows where box-shadow can’t do the job or is not ideal (for example, masks).

Image base path not taking in sass

we are using sass nowadays. here when we tried to add src img path like “/us/products/sites/default/files/2024-05/error-invalid_3.png” which is in dam not taking getting error in map.js file