Custom properties are the developer’s way of letting other developers easily manipulate CSS properties within their website’s files. A lot of duplication work is accessed through CSS such as deploying a website color scheme based on a set of repeating colors, for instance. The process involved in making that happen can be tedious and can lead to errors in the code. Through CSS custom properties, though, it can be done securely.

A var() function helps make it happen

There is a var() function used to assign values to properties. This is done by using the following var() function: Thanks to CSS Custom Properties and the way it handles variables, changes need to be applied only once to one variable. All further uses of that variable will be submitted to the same changes through this very developer friendly tool. –primary: #0B61A4; –secondary: #25567B; } header { background: var(–primary); border-bottom: 2px solid var(–secondary); }“

It’s a great help

This is a great tool for developers, even if there aren’t a lot of people that will benefit from the service. Microsoft will also get its fair share of appreciative users that were waiting for something like this for a very long time.

More might be coming

It will be interesting to see what Microsoft brings out next for developers as more tools like this can greatly improve the ecosystem as a whole throughout developer communities across multiple departments and branches. The new CSS Custom Properties experience is available right now for whoever has access to the Windows Insider platform. RELATED STORIES TO CHECK OUT:

Windows 10 Creators Update assistant confirms build 15063 as RTM build Creators Update SDK now available Windows 10 pushes Microsoft Edge ads to the Start Menu

Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ