Bootstrap color-yiq function in css editor of codepen

I am using the color-yiq function of bootstrap/scss for contrast color of my quote-box, which I am not able to achieve in codpen.io,

Your link doesn’t point to your pen. It will bring anyone to their own work.

You need to add the _functions.scss and _variables.scss partials.

https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/scss/_functions.scss
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/scss/_variables.scss

Example
https://codepen.io/lasjorg/pen/mdrxGLw

Thanks a lot :slightly_smiling_face:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.