Select Page

How to know the length of the path in SVG?

How to know the length of the path in SVG to animate it with the stroke offset method? Well, the answer is very simple. Just use the following JavaScript and update its selector to that of the path you want to calculate the length of. Check the length value in the...
How to create a doughnut chart using Chart.js

How to create a doughnut chart using Chart.js

First of all you will need to include the canvas with a unique id and include chart.js cdn js file and then follow the steps below. Include Chart.js file <script src=”https://cdn.jsdelivr.net/npm/chart.js”></script> HTML Ass this canvas tag...
CSS shapes for reverse curved corners

CSS shapes for reverse curved corners

Reverse cornered css shape in white color Here is a simple example of how we can create reverse cornered shapes in the white color shown in the image above. Please have a look at the demo below and also check its HTML and CSS. You can also edit it in Codepen and...
How to create a SCSS to CSS compiling setup?

How to create a SCSS to CSS compiling setup?

Hi, I have created a very nice and minimal working scss/sass to css compiling setup on my local and i am sharing the steps to do it with you. Step 1 – install node js from here – https://nodejs.org/en/ Step 2 – initialize package.json file with...
Card UI Hover Floating

Card UI Hover Floating

I like this small piece of code. It’s a very fluid, very nice, and light kind of experience to have as a card on your website. See the Pen Product Card UI Hover Floating by Puneet Sharma (@webdevpuneet) on CodePen.