Not all devices are the same width; you should make sure that your pages work well in a large variation of screen sizes and orientations. The viewport is the user’s visible area of a web page. The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen.… Continue reading viewport
Category: Magento
How to get the magento partnership.
Where to Find Slider Content Type in Magento Page Builder
To begin, open the Magento Page Builder workspace of the page, block, or dynamic block where you want to place the slider.In the left panel, expand Media to show the Slider content type. In Magento Page Builder Slider, there are two separate toolboxes, each with its own set of controls. One is used for the… Continue reading Where to Find Slider Content Type in Magento Page Builder
Creating Magento 2 Cron Job Cloudways
To create a Magento 2 cron job, you must log in as a user with root privileges (as mentioned earlier) and run the following command: crontab -u -e Now since the following commands are long and there is a chance of a mistake, I recommend using a text editor. The first command reindexes the indexers,… Continue reading Creating Magento 2 Cron Job Cloudways
How to Create Cron Job Programmatically in Magento 2
The cron Job will create a command or a script that is appropriate with the task you want to do. Instead of manual working, the Cron Job allows running automatically in exact time and date. Due to its automation, the Cron Jobs is the perfect choice for repeated projects every date or every week. Please… Continue reading How to Create Cron Job Programmatically in Magento 2
Add autoplay for swipe slider using js
Add the following code to javascriptautoplay: { delay: 2000, }
Difference between background-size: cover and background-size: contain
background-size: contain ensures that the entire background image will fit the background area, keeping its original aspect ratio. If the background area is smaller than the image, the image will shrink so that it can fit the background area. If the background area is either taller or wider than the image, then any parts of the… Continue reading Difference between background-size: cover and background-size: contain
Make a section move to left and right while hovering
Example:- Html CSS JavaScript Output
Multiple Shadows
Multiple Shadows To add more than one shadow to the text, you can add a comma-separated list of shadows. The following example shows a red and blue neon glow shadow: Text shadow effect! Example h1 { text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;} The following example shows a white text with black, blue, and… Continue reading Multiple Shadows
Javascript to get values from an infinite input table of two inputs. An array of objects Magento 2
Here when there is a requirement for entering a table input of two or more fields the value of the table should be should stored as an array of objects with key and value pair format. This code stores the values in an array as objects from each row. Example: inputs variable selects the input… Continue reading Javascript to get values from an infinite input table of two inputs. An array of objects Magento 2