Search

Nalezeno "here": 2964

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

Adding Dynamic And Async Functionality To JAMstack Sites


Jason Lengstorf: Here’s an incomplete list of things that I’ve repeatedly heard people claim the JAMstack can’t handle that it definitely can: Load data asynchronously Handle processing files, such as manipulating images Read from and write to a database Handle user authentication and protect...

Validate CSP from Command Line


The content security policy spec has been an amazing front-end security tool to help prevent XSS and other types of attacks. I’d go as far to say that every site should implement as specific CSP as possible. If you aren’t familiar with CSPs, here’s a quick example:...

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

A Look Back at 2019: Roundup of Codrops Resources


Goodbye 2019! Here's our traditional yearly roundup with an overview of all Codrops publications from the past year. A Look Back at 2019: Roundup of Codrops Resources was written by Team Codrops and published on Codrops

Mainstream Media’s Hit Piece on Hitmen Fails Miserably


Mainstream media is probably one of the worst mediums for factual information because it’s typically filled with ignorance and propaganda. When it comes to cryptocurrencies, darknet markets, and encryption, conventional news outlets publish hit pieces that are beyond absurd. On December...

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

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

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

Highlights of the HTTP Archive Web Almanac


I recently looked at the CSS chapter of the Web Alamanc and had some thoughts. Here, Stefan Judis looks at the whole thing and rounds up the most interesting bits to him. Here are most of them: 20% of sites don't compress their JavaScript. React is on 5% of sites while jQuery is on 85% of sites....

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

Crypto Experts Give Their Top Predictions for 2020


In an industry built around digital scarcity, opinions are in plentiful supply. Everyone’s got one, and they’d love to share it with the rest of the cryptosphere. As the decade draws to a close and another prepares to launch, it’s the perfect time to consider what 2020 has...

Two Lessons I Learned From Making React Components


Here’s a couple of lessons I’ve learned about how not to build React components. These are things I've come across over the past couple of months and thought they might be of interest to you if you’re working on a design system, especially one with a bunch of legacy technical decisions and a lot...

The Making of a “Special Series” on a WordPress Site


We just ran a fancy article series here on CSS-Tricks with a bunch of different articles all answering the same question. By fancy, I mean two things: The articles had a specially-designed template just for them. (Example) The series has a specially-designed landing page. One of the reasons...

'Craig Wright Is Not the Victim Here' as He Tries to Dodge Sanctions


Craig Wright. Source: a video screenshot, Youtybe, CoinGeek Craig Wright, the controversial Australian computer scientist and supporter of Bitcoin SV (BSV), 'is not the victim here,' claims the latest court filing from David Kleiman’s estate, as Wright is trying to dodge the sanctions order which...

The Order of CSS Classes in HTML Doesn’t Matter


That’s right! And I can prove it, too. Let’s look at some CSS first: .a { color: red; } .b { color: blue; } And now let’s look at some markup: <div class="a b">Here’s some text</div> The text is going to be blue because .b is defined last in the CSS, right? But what if we...

Now You See It


I recently accepted a teaching position at a local college here in SoCal where I'll be spouting off whatever I know (or more likely don't know!) about HTML and CSS. It's suffice to say I was all ears (well, actually eyes) when Rachel Andrew recently published a post on teaching CSS. The display...

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