Site Logo

Nikita Hlopov

Frontend Dev Blog

Blog About Archive Tags

Detect mouse right-click with JavaScript

30 Jun 2021
  • javascript

JavaScript API allows developers to detect mouse right-click. It can be useful if you want to handle specific cases when a user clicks certain buttons on the mouse.

Read More

Full page navigation with smooth scroll to anchor (CSS and JavaScript solution)

24 Jun 2021
  • css
  • javascript

A smooth scroll to anchor is a common concept for single-page applications. It features a sliding animation effect that helps the user to understand what’s currently is happening on the device screen. There are two ways you can implement it:

Read More

The difference between min-width vs max-width in CSS media queries

17 Jun 2021
  • css

When learning about CSS media queries, sometimes it can be confusing what’s the difference between min-width and max-width properties.

Read More

How to include CSS to a page (with Pros and Cons)

19 May 2021
  • html
  • css

When it comes to including CSS on a page, there are few ways to do that, each one with its own pros and cons.

Read More

How to handle long text overflow with pure CSS (truncate/ellipsis, wrap)

11 May 2021
  • css

When working on a website or a web app texts are often overlooked, that’s when issues like overflowing text occur. To solve that, you can use some solutions like truncating or ellipsizing a text (add three dots) or wrapping the text.

Read More
⟨ Previous Next ⟩

This work is licensed under a CC BY 4.0 License.
The code in this work is licensed under an MIT License.