Search

Nalezeno "css-tricks": 2942

The Thought Process Behind a Flexbox Layout


I just need to put two boxes side-by-side and I hear flexbox is good at stuff like that. Just adding display: flex; to the parent element lays out the children in a row. Well, that's cool. I guess I could have floated them, but this is easier. They should probably take up the full space they have...

An Introduction to the Picture-in-Picture Web API


Picture-in-Picture made its first appearance on the web in the Safari browser with the release of macOS Sierra in 2016. It made it possible for a user to pop a video out into a small floating window that stays above all others, so that they can keep watching while doing other things. It’s an idea...

Product Search and Filters Are a Snap With WooCommerce


Let's say you visit an e-commerce site because you want to buy the latest banana peeler model. Bananas are hard enough to peel, right? Only a tool will do! What's the first thing you're going to do on the site? Chances are, it's entering something into the (hopefully) prominent search field....

The Popeye Moment


Frank Chimero is redesigning "in the open" and we should pay attention to it because (1) we should listen to anything Frank has to say because he's a great designer and writer and (2) working in public is awesome. But the gut punch for me in this opening article is the way Frank pulls zero punches...

Playing Sounds with CSS


CSS is the domain of styling, layout, and presentation. It is full of colors, sizes, and animations. But did you know that it could also control when a sound plays on a web page? This article is about a little trick to pull that off. It’s actually a strict implementation of the HTML and CSS,...

We are Programmers


Building websites is programming. Writing HTML and CSS is programming. I am a programmer, and if you're here, reading CSS-Tricks, chances are you're a programmer, too. The thing is, the details in programming layout with CSS are different, for example, than the details in programming API endpoints...

The New Good Ol’ Days


Eighteen years into this game, I love to reminisce back to the good ol’ days of the early to mid-2000s when there was an explosion of creativity on the web. It felt fresh and unbridled, with boundaries expected to be pushed at every turn, and they were. This was mainly down to one thing, the thing...

Growing Accessibility Conversations


I started this year on a new path at Knowbility — to help people and organizations create accessible content and apps. But what was exciting and helped motivate me more were two things: WebAIM's Accessibility Analysis of One Million Page Homepages. With over 97% of sites having WCAG failure...

Everything and Nothing


I've been thinking about the question for a solid month now. What about building websites has you interested this year? The question pervaded my solitary thoughts and played in the background during my conversations. I’d love to just tell you the answer I’ve come to, but the more interesting part...

Highlights from Chrome Dev Summit 2019


Ire Aderinokun has made another round-up summary of some things that piqued her attention during this year’s Chrome Dev Summit and there’s a lot of exciting news! There’s the :is selector (which Geoff wrote about a while back) as well as logical properties, updates to standard form elements,...

Smarter Design Systems Tools


What has me really excited about building websites is largely around design systems and the design tools we use to build them. Though, design systems are certainly not limited to websites. Closing the Gap In the ever-so-hot-right-now world of design systems, one of the most common phrases people...

How Building in the Open Can Change Our Industry


I have to admit, I'm a developer who hasn't built a website. When I first read Chris's question, I sat in silence for at least a minute. Which technical topic did I want to discuss? A new library, programming language or best practice? Nothing, in particular, came to mind. Is that because I'm a...

Embrace the Political


The tech industry has long held the belief that technology is apolitical. People are flawed, but the machines? They are neutral. They are pure. This is ridiculous, of course. People make the machines. We write the algorithms that can't recognize dark skin tones. We decide to downplay or ignore...

What the web still is


Being a pessimist is an easy thing to fall back on, and I’m trying to be better about it. As we close the year out, I thought it would be a good exercise to take stock of the state of the web and count our blessings. Versatile We don't use the internet to do just one thing. With more than...

Emcee Tips for a Conference or Meetup


There are some great resources out there to help conference speakers give better talks, but fewer for people who are preparing to take on the role of emcee at meetup or conference. I've been fortunate enough to emcee conferences more than 20 times now, most recently JAMstack_conf which I help...

Create Amazingly Stable Tests Your Way — Coded and Code-Less


Testim’s end-to-end test automation delivers the speed and stability of AI-based codeless tests, with the power of code. You get the flexibility to record or code tests, run on third-party grids, fit your workflow and tools including CI, Git and more. Join the Dev Kit beta to start writing stable...

Embracing the Universal Web


There are constantly new features appearing in browsers—from subgrid to variable fonts to better developer tools. It's a really great time to be re-thinking everything we know about design on the web. Responsive design has served us well over the years, but it's still rooted in the limitations...

It’s my job, and yours.


The role of ethics in our modern web space has been on my mind for the past few years and I suspect it will occupy my thoughts increasingly as I move forward. With each encounter of a questionable feature or setting on a website, I can't help but think of all of the people involved and...

The future is bright, because the future is static


I've been doing this web thing for money for 10 years this year and although I haven’t been around as long as some folks, I feel like I've seen a few cycles come and go now, so let's say that hot new things are often cynically viewed, initially. This milestone of mine has also got me in...

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