Latest Tutorials and How-To's
While applying CSS transform on an image, and scaling it, a common problem comes up that the image becomes blurred. This can be largely improved using the CSS image-rendering property.
March 11, 2020
March 9, 2020
The toLocaleString() method of the Date() object can be used to get date and time for a given IANA timezone name in Node.
February 9, 2020
The newly introduced formdata event can enable the Javscript FormData object to participate in form submissions. When trying to submit a form via AJAX, this is helpful to include custom elements in the request.
February 3, 2020
February 1, 2020
Making the height of a container element same as that of the window is useful in cases where there is a hero content to be presented. This can be done by setting the CSS height of the element in vh units.
January 30, 2020
This article contains sample PHP code that implement the GetObject S3 API call. It will download a file from a S3 bucket, and save it to local server.
January 28, 2020
January 15, 2020
An image can be converted to grayscale or black & white by applying the grayscale CSS filter on it. Even a partial grayscale conversion can be done.
January 13, 2020
January 12, 2020
The binary data of a local file selected by the user can be retrieved using the readAsBinaryString method of a FileReader object.
January 9, 2020
The CSS display property has been upgraded to a two-valued syntax. This will allow us to make new layouts that were not possible before.
January 8, 2020
By default, the color of the underline in a link is the same as its text color. However with the newly introduced text-decoration-color CSS property, the underline and the text can have different colors.
January 6, 2020
Without cookies being enabled in the browser, some web applications may not work as expected. To prevent such cases navigator.cookieEnabled property can be used to do a prior check whether cookies are enabled or not.
January 5, 2020
Browsers allow user-sensitive and low-level web APIs to execute only when the page is in a secure context. In addition, the window.isSecureContext property can be used to check whether the current environment is safe or not.
January 2, 2020
The new CSS properties such as text-decoration-thickness, text-decoration-color etc can help in creating attractive text decorations and underlines, which were not possible before.
January 1, 2020
The referring url may compromise user privacy when a link is clicked. However this can be prevented through the referrer meta tag, or using the referrerpolicy attribute on hyperlinks.
December 29, 2019
Giving user the preference of choosing a dark or light mode has become a very popular feature of operating systems. Webpages can also be shown in dark or light theme depending on the mode chosen in the device settings.
December 28, 2019
The ping attribute can be included in link tags to notify the server when the link is clicked. This can be used for tracking purposes.
December 26, 2019
December 25, 2019
Intersection Observer Now Also Accepts a Document as the Root Element
Better Caching With stale-while-revalidate Directive in Cache-Control Header
Synchronous AJAX Will Not Work in Page Dismissal Events
New & Upcoming CSS Properties
CSS gap Property for Flexbox
CSS clamp() Function
CSS max() Function
CSS min() Function
Inner & Outer Values of CSS display
SVG Support for Favicons
CSS Transform Properties - translate, rotate & scale - Are Also Available As Independent CSS Properties