Web Development
131K subscribers
566 photos
58 videos
541 files
110 links
Learn to code and become a Web Developer with HTML, CSS, JavaScript, React, Node.js

πŸ’³ Paid ads: https://telega.io/c/Webdev_Trainings
Download Telegram
Did you know that you can instruct the browser to load images from the backend only when the user scrolls near to the actual location of the image? This is possible using the loading attribute in HTML.

The browser runs some heuristics to check when the image might be actually required to be rendered.

πŸ‘‰ For example, an image at a bottom section might be required only when user scrolls into it and not immediately during page load.

This significantly reduces the network bandwidth and initial page load times!
πŸ”₯33❀25πŸ‘15
Media is too big
VIEW IN TELEGRAM
πŸ”° Use these instead of vh

I see people use vh a lot, and then complain that it doesn’t work the way they thought it would, so in this one, I explore a few other options that we have, which are dvh, svh, and lvh. Along with these, you could also use dvb, svb, and lvb, which are the logical property version of the height units, but for the block-size.
Please open Telegram to view this post
VIEW IN TELEGRAM
❀22πŸ‘17
πŸ”° Useful CSS Snippets
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❀52πŸ‘8
⌨️ An Amazing Cheatsheet for Tailwind CSS to master Tailwind in Minutes
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❀28πŸ‘4
⌨️ An Amazing Cheatsheet for Tailwind CSS to master Tailwind in Minutes
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❀35πŸ‘6