Search

Nalezeno "Article": 1993

Thank You (2019 Edition)


One of our yearly traditions here is to thank all y'all CSS-Tricks readers at the passing of a new year. It means a lot to me that people come here and read the words I write, and the words of all our staff and guest authors that contribute here as well. Thank you! Plus, we dig into the numbers...

How to Build Your Resume on npm


Just yesterday, Ali Churcher shared a neat way to make a resume using a CSS Grid layout. Let’s build off that a bit by creating a template that we can spin up whenever we want using the command line. The cool thing about that is that you’ll be able to run it with just one command. I know...

New Year, New Job? Let’s Make a Grid-Powered Resume!


Many popular resume designs are making the most of the available page space by laying sections out in a grid shape. Let’s use CSS Grid to create a layout that looks great when printed and at different screen sizes. That way, we can use the resume online and offline, which might come in handy during...

PSA: It’s That Time to Update the Copyright Year on Your Site


Every year about this time I see articles going around reminding people how to update the copyright on their websites. Usually somewhere in the footer. You know, a line like: © Copyright 2007-2019 CSS-Tricks I am very absolutely not a lawyer, but this is how I understand it: You don't actually...

What We’re Reading, 2019


There are so, so, so (so) many things to read out there on the internet. So many, in fact, that it's difficult to keep up with everything. But, hey, we've got your back! It's our job to surface the best of the best and share it with you right here. That's why it's a good idea to subscribe to this...

A Use Case for a Parent Selector


Having a "parent selector" in CSS is mentioned regularly as something CSS could really use. I feel like I've had that thought plenty of times myself, but then when I ask my brain for a use case, I find it hard to think of one. Well, I just had one so I thought I'd document it here. A classic...

Wufoo + Zapier


Wufoo has always been great with integrations. They have integrations with specific apps, like Campaign Monitor, Mailchimp, and Typekit, but they also integrate with Zapier, which is sort of like an integration inside an integration. That's kinda meta, but the idea is actually pretty...

Embedded Content in Markdown


Markdown supports HTML, so if you need to, say, embed a YouTube video, you can just copy and paste the embed code from them, drop it into a Markdown document, and you should be good to go. With YouTube specifically, there are other options. But in general, you don't need to do anything special...

Gatsby and WordPress


Gatsby and WordPress is an interesting combo to watch. On one hand, it makes perfect sense. Gatsby can suck up data from anywhere, and with WordPress having a native REST API, it makes for a good pairing. Of course Gatsby has a first-class plugin for sourcing data from WordPress that even supports...

One Way to Break Users Out of the Habit of Reloading Too Much


Page reloads are a thing. Sometimes we refresh a page when we think it’s unresponsive, or believe that new content is available. Sometimes we’re just mad at the dang site and rage-refresh to let it know we’re displeased. Wouldn’t be nice to know when a user refreshes the page? Not just that,...

So Many Color Links


There's been a run of tools, articles, and resources about color lately. Please allow me to close a few tabs by rounding them up here for your enjoyment. Curated colors in context Happy Hues demonstrates a bunch of color palettes in the context of the site itself. That's a nice way to do...

How Many Websites Should We Build?


Someone emailed me: What approach to building a site should I take? Build a single responsive website Build a site on a single domain, but detect mobile, and render a separate mobile site Build a separate mobile site on a subdomain It's funny how quickly huge industry-defining conversations...

Why do we use .html instead of .htm?


Interesting question from Andy: Serious question. Why do we use .html instead of .htm? / @adactio @css — Andy Clarke (@Malarkey) December 12, 2019 The most likely answer from the thread: DOS was a massive operating system for PCs for a long time and it had a three-character limit on file...

PHP Templating in Just PHP


With stuff like template literals in JavaScript and templating languages, like JSX, I've gotten used to wanting to write my HTML templates in one nice chunk and sprinkling in variables wherever I need them. I had a situation where I needed to do that in "raw" PHP the other day, so I'm just...

How to Modify Nodes in an Abstract Syntax Tree


One of the more powerful concepts I've stumbled across recently is the idea of abstract syntax trees, or ASTs. If you've ever studied alchemy, you may recall that the whole motivation for alchemists was to discover some way to transform not-gold into gold through scientific or arcane methods. ASTs...

What to Expect from the JAMstack in 2020


Brian Rinaldi interviewed a variety of folks, asking them the same questions about JAMstack development and the landscape recently: Raymond Camden: I think we will see better competition from the bigger players. Gift Egwuenu: I'm also looking forward to more job openings on the JAMstack. Bryan...

Moving Rainbow Underlines


I absolutely love the design of the Sandwich site. Among many beautiful features are these headlines with rainbow underlines that move as you scroll. It's not scroll-jacking — it's just a minor design feature that uses scroll position to enact a little movement. To draw the rainbows...

A Whole Bunch of Places to Consider Contrast in a Single Paragraph


When we're thinking about choosing colors in design, we're always thinking about accessibility. Whenever colors touch, there is contrast and, if we're talking about the color contrast of text, it needs to be high enough to be readable. This benefits people with a variety of visual disabilities,...

Stream-Crossing Confusion


Should I use WordPress or React hooks? Should I use D3 or CSS? Should I use Markdown or JSON? Can I use flexbox in Gatsby? Can I use custom properties in Jekyll? Should I use HTML or the cloud? How do I add dark mode to my Vue site? These are tongue-in-cheek, but there is a point to be made here....

Clips from my DEV AMA


I recently did an AMA over on DEV. Just taking the opportunity to port over some answers here like a good indiewebber. If you were starting out as a front end dev in 2020, what would you say is the first thing you would learn and why? You need to put yourself in a position where it's your job...

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