Tag: css

Why is the Virtual DOM So Fast?
Post

Why is the Virtual DOM So Fast?

Originally posted on dev. When you start learning about the frontend world, you’ll almost immediately stumble across the term “Virtual DOM”. Most of the popular frontend frameworks use it and want to prove their speed with it. But what makes it so fast? And what makes the real DOM so slow and inefficient? Understanding Browser...

The Beauty of CSS
Post

The Beauty of CSS

Introduction CSS is the language that sits at the presentation level of the Web alongside HTML and JavaScript. CSS is easy to start with but it’s not simple to work with because it has some features that might seem frustrating at first. These features are what makes CSS such a beautiful language to work with. If you...

CSS Selectors Related to Form Control
Post

CSS Selectors Related to Form Control

Originally posted on dev Nowadays, we tend to use JavaScript to validate the form. Then adding some classes to help us style the input elements. In some cases, we probably no need to create extra classes because there are already some CSS selectors that can help us do the job. In this article, I will...

CSS-Only Chat
Post

CSS-Only Chat

A truly monstrous async web chat using no JS whatsoever on the frontend. Wait what This is an asynchronous chat that sends + receives messages in the browser with no reloads and no javascript. Ok so how Background-images loaded via pseudoselectors + a forever-loading index page (remember Comet?). Say that again? Ok, so there are two...