Microsoft Edge gets new CSS Custom Properties with the Creators Update

By: Costea Lestoc
2 minute read

CSS Custom Properties are getting a major upgrade with the release of the new Creators Update. It will also feature a closer look at how CSS properties operate within the platform’s confines as well as how developers are permitted to operate them. Developers are no doubt going to be very satisfied with the kind of capabilities they will be granted once the Creators Update is released.

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:

:root {

–primary: #0B61A4;

–secondary: #25567B;

}

header {

background: var(–primary);

border-bottom: 2px solid var(–secondary);

}“

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.

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:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Discussions