Search
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...
Full-Width Elements By Using Edge-to-Edge Grid
7.2.2020
If you have a limited-width container, say a centered column of text, "breaking out" of that to make a full-width element involves trickery. Perhaps the best trick is the one with left relative positioning and a negative left viewport-based margin. While it has it's caveats (e.g. requiring hidden...
Resizing Values in Steps in CSS
30.1.2020
There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...
Lawyers Ramp Up Pressure to Exhume Quadriga CEO’s Body
28.1.2020
Miller Thomson is doubling down on its request that the RCMP exhume Quadriga founder Gerald Cotten's body by publicly requesting an update from Canadian MP Bill Blair, who oversees the agency
Crypto Experts Join OECD ‘High Level’ Advisory Board
19.1.2020
The Organisation for Economic Cooperation and Development, an intergovernmental body with 36 member countries, has formed “a high-level expert group” which includes executives from the crypto industry. They will provide advice in helping develop international blockchain policy...
Quadrigacx Founder Dead or Alive? Request for Exhumation and Autopsy Filed
14.12.2019
It has been a year since the founder of now-defunct crypto exchange Quadrigacx supposedly died in India. However, some 76,000 victims are still out of millions of dollars. A court-appointed lawyer representing them has now requested an exhumation and post-mortem autopsy in Canada of the dead body...
Troubles for QuadrigaCX as Investors Demand Exhumation of Dead CEO’s Body
14.12.2019
The ghost of deceased CEO Gerald Cotten seems to be haunting the now defunct Canadian crypto exchange QuadrigaCX, as the investors are now demanding to exhume his body. Lawyers of the investors who lost Bitcoins worth over $190 million have asked the Royal Canadian Mounted Police to conduct...
QuadrigaCX Victims Request Proof of Gerald Cotten’s Death By Exhuming Body
13.12.2019
Canadian law firm wants to exhume the body of Gerald Cotten, the deceased owner of the now-defunct crypto exchange QuadrigaCX
Securities Numbering Body Launches Task Force to Standardize Digital Assets
23.10.2019
The Association of National Numbering Agencies is addressing the lack of standardised digital asset ticker symbols for traditional finance markets
US Regulatory Body Gets Restraining Order Against Telegram and TON Issuer
12.10.2019
In the highly dynamic world of digital currencies, nothing can be aforesaid until it happens in reality as its almost impossible to assess the future outcomes easily. The recent news about the giant messaging app the Telegram Group being halted by the SEC had indeed taken the cryptocurrency arena...
Unshackled
3.10.2019
CoinMarketCap Daily Newsletter Your daily newsletter for 3 October, 2019 Stay free “Life without liberty is like a body without spirit.” – Khalil Gibran Happy Thursday, folks! Time for your daily dose of crypto news! ???? Today in history (2333BC), Dangun […]
The post Unshackled appeared...
Unshackled
3.10.2019
CoinMarketCap Daily Newsletter Your daily newsletter for 3 October, 2019 “Life without liberty is like a body without spirit.” – Khalil Gibran Uneventful Relatively uneventful day in the crypto markets. Over the last 24 hours, total market capitalization rose slightly […]
The post...
Unshackled
3.10.2019
CoinMarketCap Daily Newsletter Your daily newsletter for 3 October, 2019 Stay free “Life without liberty is like a body without spirit.” – Khalil Gibran Happy Thursday, folks! Time for your daily dose of crypto news! ???? Today in history (2333BC), Dangun […]
The post Unshackled appeared...
Unshackled
3.10.2019
CoinMarketCap Daily Newsletter Your daily newsletter for 3 October, 2019 “Life without liberty is like a body without spirit.” – Khalil Gibran Uneventful Relatively uneventful day in the crypto markets. Over the last 24 hours, total market capitalization rose slightly […]
The post...
Crypto is an Intangible Asset, Global Accounting Standards Body Argues
24.9.2019
Cryptocurrency holdings are neither cash nor financial assets, but meet the definition of intangible assets, the IFRIC has concluded
Int’l Accounting Standards Body Defines Bitcoin as ‘Intangible Asset’
23.9.2019
Cryptocurrencies like Bitcoin are neither financial assets nor legal tender, says the International Financial Reporting Interpretations Committee
Need to scroll to the top of the page?
2.9.2019
Perhaps the easiest way to offer that to the user is a link that targets an ID on the <html> element. So like...
<html id="top">
<body>
<!-- the entire document -->
<a href="#top">Jump to top of page</a>
...
Can you nest @media and @support queries?
5.8.2019
Yes, you can, and it doesn't really matter in what order. A CSS preprocessor is not required. It works in regular CSS.
This works:
@supports(--a: b) {
@media (min-width: 1px) {
body {
background: red;
}
}
}
And so does this, the reverse nesting of the above:
@media (min-width:...
How much specificity do @rules have, like @keyframes and @media?
31.7.2019
I got this question the other day. My first thought is: weird question! Specificity is about selectors, and at-rules are not selectors, so... irrelevant?
To prove that, we can use the same selector inside and outside of an at-rule and see if it seems to affect specificity.
body {
background:...
CSS :not() with Multiple Classes
22.7.2019
Say you want to select an element when it doesn't have a certain class. That's what the :not() selector is for.
body:not(.home) {
}
But what if there are multiple classes you want to avoid?
There are no logical combinators with :not(), like and or or, but you can chain them, which...