Search

Nalezeno "X post": 31207

Footnote Characters


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

Do This to Improve Image Loading on Your Website


Jen Simmons explains how to improve image loading by simply using width and height attributes. The issue is that there’s a lot of jank when an image is first loaded because an img will naturally have a height of 0 before the image asset has been successfully downloaded by the browser. Then it needs...

monica.css


Monica Dinculescu: I don’t want every possible padding and margin and colour and flexbox configuration in the world. I just want the ones that I know I end up using in every project. So here is monica.css: my very own CSS framework, which I copy paste at the beginning of every CSS file and take...

Understanding Web Accessibility Color Contrast Guidelines and Ratios


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


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


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

Bitcoin and Altcoins Target Fresh Highs Post Recent Rally


After forming a support base above USD 9,650, bitcoin started a strong increase. BTC/USD surged above the USD 9,850 and USD 10,000 resistance levels to enter a positive zone. The price is now (09:00 UTC) consolidating gains and it could continue to rise towards USD 10,400 and...

Mike Bloomberg’s 2020 Finance Policy Proposes Strict Bitcoin Regulations


The 2020 U.S. Presidential candidate Michael Bloomberg addressed the subject of cryptocurrencies and initial coin offerings (ICO) in his recently published Financial Reform Policy. Bloomberg wants more “regulatory oversight” when it comes to this promising technology, claiming he sees...

Centering a div That Maintains Aspect-Ratio When There’s Body Margin


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)


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

How to Build Vue Components in a WordPress Theme


The inline-template directive allows us to build rich Vue components as a progressive enhancement over existing WordPress markup. The post How to Build Vue Components in a WordPress Theme appeared first on CSS-Tricks

Web Component for a Code Block


We'll get to that, but first, a long-winded introduction. I'm still not in a confident place knowing a good time to use native web components. The templating isn't particularly robust, so that doesn't draw me in. There is no state management, and I like having standard ways of handling that. If...

Currency.com Accused of Exploiting KYC to Withhold Customer Funds


Know Your Customer (KYC) and Know Your Transaction (KYT) are ostensibly deployed by exchanges to combat money laundering. In practice, these provisions are used as an excuse to surveil, cajole, and threaten customers, who risk losing funds if they are unable to meet the impossibly high burden...

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