Search
Fixed Headers and Jump Links? The Solution is scroll-margin-top
21.2.2020
The problem: you click a jump link like <a href="#header-3">Jump</a> which links to something like <h3 id="header-3">Header</h3>. That's totally fine, until you have a position: fixed; header at the top of the page obscuring the header you're trying to link to!
Fixed...
You Are the Product: A Three-Step Plan to Take Back Control of Personal Data
20.2.2020
Personal data is monetized, giving us, the providers, nothing of the pie. Entrepreneur Jennifer Zhu Scott has a three-step plan for taking back control
Virgin Galactic Stock Is Skyrocketing, Will Take Bitcoin to Shoot You Into Space
20.2.2020
Virgin Galactic is one of the leading ventures in the emerging private space race alongside companies such as Spacex. However, it is being compared now mostly to another Elon Musk creation – Tesla. This is because Virgin Galactic stock is skyrocketing as traders rush in to bet on...
Seen by Indeed
20.2.2020
(This is a sponsored post.)
Are you looking for a tech job where you clock in, or for a career where you’ll be seen?
Seen by Indeed is a matching service for software engineers, product managers and other tech pros that sorts through thousands of companies -- like Twilio, Overstock, VRBO,...
Footnote Characters
20.2.2020
They are special superset numbers that are sometimes perfect for footnotes. Here they are:
¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹
I generally prefer to superscript the number myself, like:
<pThis next word<sup1</suphas a footnote.</p
You'd probably add an anchor link around that as well to link to an...
Everything You Ever Wanted to Know About the DeFi ‘Flash Loan’ Attack
19.2.2020
Here's a plain-English breakdown of the bZx attacks and their broader implications for the budding DeFi markets
Understanding Web Accessibility Color Contrast Guidelines and Ratios
19.2.2020
What should you do when you get a complaint about the color contrast in your web design? It might seem perfectly fine to you because you’re able to read content throughout the site, but to someone else, it might be a totally different experience. How can put yourself in that person’s shoes...
Same HTML, Different CSS
19.2.2020
Ahmad Shadeed covers the idea of a card component that has a fixed set of semantic HTML with some BEMy classes on it. There is a title, author, image, and tags. Then he redesigns the card into five totally different designs without touching any of the HTML just the CSS.
If this is an ah-ha moment...
How to Mine Bitcoin in 2020
19.2.2020
Bitcoin mining is a great way to earn cryptocurrency while providing a valuable service to the global network of users. Miners can set up a hardware operation by themselves or join forces with a large venture via cloud mining. If you are looking to enter this field in 2020, here is what you need...
Centering a div That Maintains Aspect-Ratio When There’s Body Margin
18.2.2020
Andrew Welch had a little CSS challenge the other day to make an ordinary div:
• centered vertically + horizontally• scales to fit the viewport w/ a margin around it• maintains an arbitrary aspect ratio• No JS
There's a video in that tweet if it helps you visualize the challenge. I saw Paul...
Solving Sticky Hover States with @media (hover: hover)
18.2.2020
Mezo Istvan does a good job of covering the problem and a solution to it in a blog post on Medium¹.
If you tap on something that has a :hover state but you don't leave the page then, on a mobile device, there is a chance that :hover state "sticks." You'll see this with stuff like jump-links used...
What You Need To Do With Online Gambling Winnings
18.2.2020
Winning big online may seem like a one in a million shot. The truth is, if you play the games right, you can find yourself in a winning streak far beyond what you previously thought attainable. So is the nature of casino games. But what do you do with all that money? You can literally …
The...
“What You Said” (Feb. 17), a Weekly Round-Up of Sentiments From the Community
18.2.2020
Welcome back to our weekly blog series, “What You Said,” where we conduct fun polls for our community and shareContinue Reading
The post “What You Said” (Feb. 17), a Weekly Round-Up of Sentiments From the Community appeared first on CoinMarketCap Blog
“What You Said” (Feb. 17), a Weekly Round-Up of Sentiments From the Community
18.2.2020
Welcome back to our weekly blog series, “What You Said,” where we conduct fun polls for our community and shareContinue Reading
The post “What You Said” (Feb. 17), a Weekly Round-Up of Sentiments From the Community appeared first on CoinMarketCap Blog
A Complete Guide to Data Attributes
18.2.2020
Everything you ever wanted to know about data attributes in HTML, CSS, and JavaScript.
The post A Complete Guide to Data Attributes appeared first on CSS-Tricks
Moving from Vanilla JavaScript to a Reusable Vue Component
17.2.2020
I recently wrote an article explaining how you can create a countdown timer using HTML, CSS and JavaScript. Now, let’s look at how we can make that a reusable component by porting it into Vue using basic features that the framework provides.
Why do this...
Blame the implementation, not the technique
17.2.2020
I'm not sure we've gotten much better at this since Tim Kadlec wrote this in 2012:
Stop me if you’ve heard this one before.
“Responsive design is bad for performance.”“User agent detection is bad. Don’t segment the web.”“Hybrid apps don’t work as well as native apps.”“CSS preprocessors shouldn’t...
Land Your Dream Job with Vettery (Sponsored)
17.2.2020
Whether you’re an experienced pro or someone new to the industry, finding a great job can be a scary, stressful process. Engineers and designers get inundated with Hacker Rank tests, portfolio requests, and a variety of other queries. Vettery improves the experience for free agents...
Things You Must Know Before Investing in Bitcoin
17.2.2020
Let’s start with what Bitcoin entails and how you can reap benefits out of it without running the risk of losing your money on Bitcoin. Bitcoin is a cryptocurrency (virtual asset) designed in 2009, encrypted, and supported with a special system called Blockchain. It was devised by a pseudonymous...
Listen to your web pages
16.2.2020
A clever idea from Tom Hicks combining MutationObserver (which can "observe" changes to elements like when their attributes, text, or children change) and the Web Audio API for creating sounds. Plop this code into the console on a page where you'd like to listen to essentially any DOM change...