How to Get a React Component’s Element
14.5.2018
JSX is an amazing pseudo-language for React, and if I’m honest, it’s what brought me to love React so much. Using React without JSX is cumbersome and frustrating, while using JSX is such an easier way to express your code. One drawback of JSX, however, is that it makes accessing...
What’s wrong with CSS-in-JS?
11.5.2018
Brad Frost thinks it's:
Lack of portability
Context Switching
Flushing best practices down the toilet
In the spirit of good-ol-fashioned blog-and-response, here's:
Brain Muenzenmeyer's response
Micah Godbolt's response
I'd like to point out that "CSS-in-JS" is an umbrella term, and that there...
Turn Sublime Text 3 into a JavaScript IDE
11.5.2018
Sublime Text is one of the most popular editors for web development and software development in general. It’s very smooth and fast compared to other editors (being written in C++ helps that speed). Sublime also has tons of plugins you can find through Package Control.
But it’s only a text editor...
Add Authentication to Any Web Page in 10 Minutes
10.5.2018
This content is sponsored via Syndicate Ads
Adding authentication to web pages can be pretty annoying.
While I'd like to say that
JSON Schema Validation and Expressive Query Syntax in MongoDB 3.6
10.5.2018
One of MongoDB’s key strengths has always been developer empowerment: by relying on a flexible schema architecture, MongoDB makes it easier and faster for applications to move through the developme
MongoDB 3.6: JSON Schema Validation and Expressive Query Syntax
10.5.2018
One of MongoDB’s key strengths has always been developer empowerment: by relying on a flexible schema architecture, MongoDB makes it easier and faster for applications to move through the developme
Collective #414
10.5.2018
Guess.js * Styling buttons, the right way * Ranger * Fugue * First Input Delay * Themify * What's right with css-in-js
Collective #414 was written by Pedro Botelho and published on Codrops
How to build a slide deck in PowerPoint that isn’t god awful
10.5.2018
"Oooh! A PowerPoint Presentation!"
— No one ever
Nobody likes a slide show. I don't even have to back that assertion up with evidence. It's a universal truth — like saying "the sky is blue", "the grass is green" or "The Mummy with Tom Cruise is the worst movie ever made." And if...
Locate and identify website visitors by IP address
10.5.2018
(This is a sponsored post.)
Big thanks to ipstack for sponsoring CSS-Tricks this week!
Have you ever had the need to know the general location of a visitor of your website? You can get that information, without having to explicitly ask for it, by the user’s IP address. You’re just going to need...
Where Lines Break is Complicated. Here’s all the Related CSS and HTML.
9.5.2018
Say you have a really long word within some text inside an element that isn't wide enough to hold it. A common cause of that is a long URL finding it's way into copy. What happens? It depends on the CSS. How that CSS is controlling the layout and what the CSS is telling the text to do.
This...
Git Integration in Visual Studio Code
9.5.2018
Visual Studio Code has easily become one of the most popular editors out there for Web Development. It has gained such popularity thanks to its many built in features, including source control inte
Overriding Default Button Styles
9.5.2018
There are a variety of "buttons" in HTML. You've got:
<button>Button</button>
<input type="button" value="Button">
Plus, for better or worse, people like having links that are styled to match the look of other true buttons on the site
<a href="#0"...