Using CSS Custom Properties

I’ve been tackling an interesting problem on the new Tomango site. We’re using a ‘brand pattern’ as a hero image — it’s all SVG and CSS background-image. There are two parts to it, a grey pattern, and a repeating set of wh…


This content originally appeared on Welcome to my blog on Trys Mudford and was authored by Welcome to my blog on Trys Mudford

I’ve been tackling an interesting problem on the new Tomango site. We’re using a ‘brand pattern’ as a hero image — it’s all SVG and CSS background-image. There are two parts to it, a grey pattern, and a repeating set of white/light grey lines. The lines are consistent across the site but the pattern changes from page to page. It all worked well until network speed got involved. Once cached, the lines would load before the pattern, causing a nasty flash of light-on-light.


This content originally appeared on Welcome to my blog on Trys Mudford and was authored by Welcome to my blog on Trys Mudford


Print Share Comment Cite Upload Translate Updates
APA

Welcome to my blog on Trys Mudford | Sciencx (2018-03-08T00:00:00+00:00) Using CSS Custom Properties. Retrieved from https://www.scien.cx/2018/03/08/using-css-custom-properties/

MLA
" » Using CSS Custom Properties." Welcome to my blog on Trys Mudford | Sciencx - Thursday March 8, 2018, https://www.scien.cx/2018/03/08/using-css-custom-properties/
HARVARD
Welcome to my blog on Trys Mudford | Sciencx Thursday March 8, 2018 » Using CSS Custom Properties., viewed ,<https://www.scien.cx/2018/03/08/using-css-custom-properties/>
VANCOUVER
Welcome to my blog on Trys Mudford | Sciencx - » Using CSS Custom Properties. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/03/08/using-css-custom-properties/
CHICAGO
" » Using CSS Custom Properties." Welcome to my blog on Trys Mudford | Sciencx - Accessed . https://www.scien.cx/2018/03/08/using-css-custom-properties/
IEEE
" » Using CSS Custom Properties." Welcome to my blog on Trys Mudford | Sciencx [Online]. Available: https://www.scien.cx/2018/03/08/using-css-custom-properties/. [Accessed: ]
rf:citation
» Using CSS Custom Properties | Welcome to my blog on Trys Mudford | Sciencx | https://www.scien.cx/2018/03/08/using-css-custom-properties/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.