Did we forget how much of a pain CSS still is?
For example, I recently made a UI with a series of numbered steps. To the left of each step is a number with a circle around it as a highlight.
The CSS I came up with looked like this:
.step-number { align-items: center; background-color: #0074cc; border-radius: 50%; color: white; display: flex; font-size: 14px; font-weight: bold; height: 24px; justify-content: center; line-height: 24px; margin-right: 10px; width: 24px; }
Did it produce a circle? Of course not. It produced a squished egg shape.
What did I have to do? I had to add "min-width: 24px;" to the class. Why? Hell if I know. "width: 24px;" should've done the job.
Bootstrap (and now Tailwind) exist for a reason: CSS still sucks.
This hasn't been true since Python 3.3. You no longer need a __init__.py for Python to recognize a module, but it can still be useful in many cases.
> The U.S. imports a significant portion of its softwood lumber from Canada, with roughly 30% of its softwood lumber needs being met by Canadian exports.Specifically, in 2023, Canada exported 28.1 million cubic meters of softwood lumber to the U.S. This accounts for a large percentage of the total softwood lumber imported by the U.S., with Canada being the primary supplier.
> The United States can potentially supply up to 95% of its own softwood lumber consumption through domestic production.While the U.S. is a net importer of lumber, its domestic industry has the capacity to meet most of its needs.
> Second, the US is ~15% of China's exports and a lot of those exports will continue even with tariffs. Some by diversified supply chains (eg "laundering" Chinese made goods through Vietnam)
Sure. 15% of their economy either just disappears, gets dramatically more expensive (laundering goods cost money too) or they have to reduce the prices so they can sell their extra 15% of goods to the people that are already buying them.
Keep in mind that China is also only around 15% of US imports too so if 15% is negligible, it's negligible for the US too.
> or the Chinese goods are so low cost that the tariffs will be paid (eg a milk carton represents a small percentage of the cost of a carton of milk).
The tariffs are a percent. Just because the cost of a single item is low doesn't mean the cost of the tariffs paid by the company is going to be low. Low cost goods are profitable because they sell in bulk. It's going to hit their bottom line in the same way it hits everyone else. You've obviously not given much thought into that point.
> Third, the US will feel the inflationary effects. China will not.
China isn't immune to 15% of their economy disappearing. Selling of an extra 15% of the goods in your warehouse at discounted rates while you scale down your factory production 15% is bad.
> Fourth, if China needs to raise funds they can and will sell US treasuries, spiking yields, hitting the ability of the US to issue further debt as well as borrowing costs for homeowners and businesses.
That's a good way to permanently remove 15% of their economy.
> Lastly, the rest of the world is on China's side. This whole tariff fiasco may be the largest self-own in American history. Additionally, it's undoing generations of American soft power globally.
That's not relevant at all. What's relevant is who the American people are on the side of. I'm not saying Trump has unanimous support or anything but he doesn't care at all what Switzerland thinks of tariffs on the Chinese.
Your #4 doomsday scenario is bad for the EU given the role that the US plays in their defense and as trade partners. WTO countries will be urging both sides to come to an agreement.
> Goldman Sachs in its latest China forecast, reports China's GDP is about to fall off a cliff: the bank now expects China's Q2 GDP growth to crater to just 0.8% QoQ from 4.9% in Q1.
[0]: https://www.reuters.com/markets/asia/view-chinas-q2-gdp-grow...
[0]: https://www.carscoops.com/2024/07/china-gives-its-automakers... [1]: https://www.imd.org/ibyimd/innovation/chinas-automotive-odys... [2]: https://harris-sliwoski.com/chinalawblog/china-joint-venture...
> The United States primarily sources its toilet paper domestically, with about 90% being manufactured within the country.However, a significant portion of imports come from Canada and Mexico.
In fact, the United States does not depend on China for any essential consumer goods from what I can find.
There are of course quite a few large US businesses being affected directly by this stuff. I imagine that they are not happy with this. And that level of unhappiness will translate into shifts in political donations. Which, I'm sure is something that will get more apparent as next year's mid term elections get closer. That's a stick that can be (and probably already is) wielded that might produce results soonish.
At least, I imagine the CEOs of GM, Ford, Boeing, etc. might have a thing or two to say about seeing China disappear as a market where they can do business to sell stuff or to source key components that they require for their own products. China was not being subtle rejecting delivery of a couple of new Boeing planes. And reductions in container traffic from China (which are the life blood of the US economy) are of course a very visible thing. And since container deliveries are critical for supply chains of most manufacturing that actually still happens in the US, that could get ugly really quickly.
Worst case all this triggers a recession. Those are rarely predicted accurately until after they've happened. But the signs aren't great and wall street is definitely nervous. A few stocks crashing because investors start panic selling could do the job. We're not there yet, but it got close a few weeks ago.
They largely weren't doing this anyway due to Chinese economic policy. For example:
> Ford's market share in China has declined significantly.In 2024, Ford's market share was 1.6%, down from a peak of 4.7% in 2015. Over the past three years, Ford's average market share in China has been a modest 1.8%.