Search

Nalezeno "X post": 31199

It All Started With Emoji: Color Typography on the Web


“Typography on the web is in single color: characters are either black or red, never black and red …Then emoji hit the scene, became part of Unicode, and therefore could be expressed by characters — or “glyphs” in font terminology. The smiley, levitating businessman and the infamous pile...

Free Introduction to Web Development Workshop


Brian Holt and the Frontend Masters team are putting on a free workshop today and tomorrow that is live-streamed for anyone that's interested. This is super cool because, despite the fact that there is a mountain of articles about web development out there, there are only few that start with...

Get a React Component by DOM Node


Retrieving a React component’s DOM node is fairly simple from within the component itself, but what if you want to work backward:  retrieve a component’s instance by DOM node?  This is a task that the old Dojo Toolkit’s Dijit framework allowed with the dojo.byId method, so it made...

Brno Mobile – večerní konference o mobilním vývoji


Už pojedenácté se 16. května v brněnském Impact Hubu uskuteční večerní konference o mobilním vývoji BrMo. Na akci budou prezentovat tři vývojáři z různých sofwarových firem: Petr Šabata Martin Pilch Jirka Pénzeš Vstup…

Page Transitions for Everyone


As Sarah mentioned in her previous post about page transition using Vue.js, there is plenty of motivation for designers and developers to be building page transitions. Let's consider mobile applications. While mobile applications are evolving, more and more attention is given to the animation...

Ship Map


Interactive maps can both be functional and, when combined with data, tell a good story. Kiln released this data-driven map (make sure to hit the play button) to show the routes of every cargo ship moving about on the high seas in 2012. Created by London-based data visualisation studio Kiln...

How to Get a React Component’s Element


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?


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


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...

How to build a slide deck in PowerPoint that isn’t god awful


"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


(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.


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...

Česká Python konference bude již za měsíc


Každoroční české setkání příznivců jazyka Python, konference PyCon CZ, se bude konat 1. až 3. června v Praze, konkrétně ve smíchovské MeetFactory. Hlavními hosty jsou letos Karen M. Sandler, Van Lindberg, Flavio Percoco…

Overriding Default Button Styles


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"...

Grid Level 2 and Subgrid


I find the concept of subgrid a little hard to wrap my mind around. I do understand the idea that we want to use nested semantic markup as we like and have elements participate in one grid so we don't have to flatten our markup just for layout reasons. But that is largely handled by display:...

Decorating lines of text with box-decoration-break


An institution’s motto, an artist’s intro, a company’s tagline, a community’s principle, a service’s greeting… all of them have one thing in common: they’re one brief paragraph displayed on a website’s home page — or at least the about page! It’s rare that just one word or one line of text...

Vertically Centering with Flexbox


Vertically centering sibling child contents is a task we’ve long needed on the web but has always seemed way more difficult than it should be.  We initially used tables to accomplish the task, then moved on to CSS and JavaScript tricks because table layout was horribly inefficient —...

VS Code Can Do That?


Clever microsite from Burke Holland and Sarah Drasner that highlights some of VS Code's coolest features. All fifteen of them are pretty darn cool. Here's a few other compelling features I've seen people use/love: There is a terminal right in there, so you don't need a separate app. The GitLens...

Microsites for Case Studies


A lot of y'all have personal sites. Personal sites with portfolios. Or you work for or own an agency where showing off the work you do is arguably even more important. Often the portfolio area of a site is the most fretted and hard to pull off. Do you link to the live projects? Screenshots?...

React and autofocus


While I love ReactJS, I can say that I sometimes find interactions that were easy during the pre-ReactJS are annoyingly difficult or at least “indirect”.  One example is properly ensuring that a given <input> element gets focused when a button in a different component...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace