Something that I really enjoy about Tailwind is how easy they make it to use CSSPseudo-classes. In this case, I am simply appending the “hover” selector in front of the classes I want to apply. Now I have a nice effect where my background color and text color change when I mouse ...
In this article, Blessing Krofegha introduces Tailwind CSS, a CSS library that gives you all of the building blocks you need to build bespoke designs without opinionated styles. With Tailwind CSS, you get to create the components that suit what you want or what you are working on. These co...
5 changes: 5 additions & 0 deletions 5 app/gatsby-browser.js Original file line numberDiff line numberDiff line change @@ -0,0 +1,5 @@ // Highlighting for code blocks import "prismjs/themes/prism.css" // Tailwind CSS import...
I’ve also borrowed a trick fromKhoiand created a tiling background image that I can use on the page while I’m working to make sure everything lines up where I want it to. You can see the end result with the grid turned on in thisexample. You’ll notice in the previous example t...
background-image: url('/assets/images/home/newsImage.png'); ` } `, }; export default Styled; export default Styled; 10 changes: 5 additions & 5 deletions 10 src/components/Home/ShopPrev/index.tsx Show comments View file Edit file Delete file This file contains bidirectional Unicode ...