Category: Web Tricks

Box-shadow – CSS Tricks – HTML CSS Border – multi border by box shadow

Box-shadow – CSS Tricks – HTML CSS Border – multi border by box shadow

Sometimes we have to add multiple borders. We use multiple HTML tags or before/after CSS pseudo-elements in this case. But now we are going to show something special. 1: First, we have to take an HTML tag. 2: Now we have to add CSS. 2.1: (width: 200px) this is the element width. 2.2: (aspect-ratio: 1

Read More
How to get current year shortcode on WordPress – JavaScript

How to get current year shortcode on WordPress – JavaScript

This is very important to show the current year on the footer for copyright purposes. But sometimes we can’t do it because of the theme rules. Some WordPress themes have the permission to show the dynamic display of the current year on the footer only. If we edit the footer by using Elementor or we

Read More
Click to copy content by javascript

Click to copy content by javascript

Sometimes we need to add a function to copy content automatically. Suppose you want to copy a big content or code by clicking a “Click to copy” or something like this indicator. Here is the solution. Please follow the steps as shown below. Step 01: link this by pasting in the HTML tag. Step 02:

Read More