Using CSS variables we can set a value to a property and reuse it in our CSS code. This can be thought of almost exactly how we use variables in JavaScript. When do we need CSS variables? When we are working on a project, and we need to use the same value (text color, background, …
Tag Archives: Web Design
Creating a simple loader only using CSS
Loader are the impressing part of the websiteย , which needs to be simple and funย , So we will build an elegant loaderย . This loader is inspired from here. Create a container which is going to hold the loader <html> <body> <div class=”container”> </div> </body> </html> Set the width and height of the body to 100%ย , …
The Set Data Structure in Javascript
Learn about how to use and when to use Set in JavaScript. The Set object allows you to create a collection of unique values(each value can occur only once). Set can contain any type of value (primitives or object reference). Set stores elements in the insertion order. The Set doesnโt containโs keys ๐ like a …