Search

Nalezeno "Bottom": 381

SpongeBob Players Discover Filthy Game Discs Make Speedrunning Tricks Easier


SpongeBob SquarePants: Battle for Bikini Bottom may be one of the most improbable video games of all time, a licensed project that turned out to be both a great game and a worthwhile challenge for the speedrunning community. But the absurdity doesn’t stop there: SpongeBob speedrunners recently...

How to Create a Shrinking Header on Scroll Without JavaScript


Imagine a header of a website that is nice and thick, with plenty of padding on top and bottom of the content. As you scroll down, it shrinks up on itself, reducing some of that padding, making more screen real … The post How to Create a Shrinking Header on Scroll Without JavaScript appeared...

The Holy Grail Layout with CSS Grid


How to build a very common layout with CSS grid. Header on the top, footer on the bottom. Two columns, sidebar and main content. This one has navigation above the main content but within that same column. The post The Holy Grail Layout with CSS Grid appeared first on CSS-Tricks. You can support...

How to Make an Area Chart With CSS


You might know a few ways to create charts with pure CSS. Some of them are covered here on CSS-Tricks, and many others can be found on CodePen, but I haven’t seen many examples of “area charts” (imagine a line chart with the bottom area filled in), particularly any in HTML and CSS alone. In this...

Logical layout enhancements with flow-relative shorthands


Admission: I’ve never worked on a website that was in anything other than English. I have worked on websites that were translated by other teams, but I didn’t have much to do with it. I do, however, spend a lot of time thinking in terms of block-level and inline-level elements....

JavaScript Operator Lookup


Okay, this is extremely neat: Josh Comeau made this great site called Operator Lookup that explains how JavaScript operators work. There are some code examples to explain what they do as well, which is pretty handy. My favorite bit of UI design here are the tags at the bottom of the search...

GIFS and prefers-reduced-motion


The <picture> element has a trick it can do where it shows different image formats in different situations. If all you are interested in is formats for the sake of performance, maybe you’d do: <picture<source srcset="img/waterfall.avif" type="image/avif"<source...

In Defense of Tables and Floats in Modern Day Development


Twenty-plus years ago, tables were the main way web pages were created in HTML. It gave web builders consistent control of constructing pages with some “design.” No longer did sites only have to be top-to-bottom in a linear manner — they could be set up with columns that align left-to-right...

How to Make an Unobtrusive Scroll-to-Top Button


A button to return to the top of the page allows the user to quickly return to the top of the page without making too much effort. This can be very useful when the page has a lot of content or which happens, for example, on one page websites, when infinite scrolling is used, or on mobile devices...

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