Phillips126
Joined 11 years ago
Joined 11 years ago
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.button {
@apply text-2xl p-2 bg-gray-100 text-gray-600 border border-gray-200 cursor-pointer hover:bg-gray-200 hover:border-gray-300;
}
}
I can now just give all of my reusable buttons the ".button" class instead of the giant string above. I can even add more styles or overwrite existing styles to give it a different look such as: <button class="button bg-red-100 text-red-600">Click Me</button>As a fan of tailwind, I can say that I initially thought this was dumb and it would be hard to read through a huge number of classes applied to each HTML element. Later, I found that for many of my reusable components, I could combine classes into a single class. As an example, my stylesheet may look like this:
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.button {
@apply text-2xl p-2 bg-gray-100 text-gray-600 border border-gray-200 cursor-pointer hover:bg-gray-200 hover:border-gray-300;
}
}
I can now just give all of my reusable buttons the ".button" class instead of the giant string above.Getting downvoted so I guess I need to clarify I was being sarcastic. I work in IT and we say this a lot.
I've tried hard to use this element on many applications but each time I always find it falling short of what I need it to do so I just end up creating a custom element. My biggest gripes are the lack of a max height attribute for the dropdown and inability to do much in terms of CSS styling. It would also be pretty slick if it was possible to select multiple values.
Tons of SVG icons from popular packs and using ES6 imports, you only bundle the icons you use.
What an abysmal way of developing applications. Everything (containers, widgets, etc.) is basically SVG's and your application looks like your designers couldn't use anything but MS Paint. Creating more complicated interactions with buttons and other UI elements was a pain to develop and making the UI responsive was a nightmare. The generated HTML was insanely ugly and the application was very slow/sluggish feeling. After fighting for a couple weeks, I began to (behind the scenes) build out a quick web application alternative to pitch. Long story short, he LOVED the web app version and that is what we are still using today company wide.
I'll never forget the embarrassment I felt after a pretty underwhelming interview explaining that my car was broken down outside in their lot and asked they notify their security so that I was not hit with more expensive fees. I've had some pretty significant financial hardships - some much worse than this, but this moment in particular really had a lasting effect on me.
Also - Awesome game!
> Samsung Smart TVs have built-in Automated Content Recognition (ACR) technology that can understand viewing behavior and usage including programs, movies, ads, gaming content and OTT apps in real-time.[0]
Literally every second or two, Samsung was performing some screen reading data collection and sending it off to their servers. My Pi Hole was capturing 12,000 blocked requests from this per day (6-7 hours of shared family viewing). This resulted in a poor user experience where I would feel the actually latency when trying to navigate around or open the menu. After factory resetting my TV it was so snappy again. Plugged in an AppleTV and haven't looked back. This form of advertising is incredibly invasive and disgusting to me, with constant spying/screenshotting of the content I am viewing.
[0] https://www.samsung.com/us/business/samsungads/resources/tv-...
To try to remedy the issue (knowing it was slowed down by the disgusting ad platform), I installed a Pi Hole in the house to see if that would alleviate the problem. The TV felt a bit less clunky but Pi Hole seemed to have some issues with some of the installed apps - primarily Hulu, so I needed another solution. The Pi Hole statistics were terrifying at around 12,000 blocked Samsung requests per day (around 6-7 hours of shared TV usage).
I researched Amazon FireSticks, Roku's, etc. I needed something easy for my family and kids to use (they are not as techy) and I wanted an interface that was buttery smooth. While I am very much not an Apple fan, last night I picked up the 4K Apple TV to test and so far it seems to be decent. There are some things I would change with the platform for sure, but it is overall pretty intuitive so my family can just pick up the remote and go.
I factory reset my Samsung TV and completely removed the network from it. It was sad to see how responsive the TV was again after the reset. You can be sure I will not be buying another Samsung TV!
She is possibly flipping on her decision now to keep her seat. If her husband Paul Pelosi[1] (an investment manager) can continue to trade, this ban will do nothing to her.
[0]: https://www.businessinsider.com/nancy-pelosi-challenger-shah...
[1]: https://en.wikipedia.org/wiki/Paul_Pelosi