Coding2GO Tutorials
@codingtogo
Daily Posts | Web Dev Tutorials | CSS Tips & Tricks | Coding Projects | (and we also sell courses lol)
4 STEPS to create a DARKMODE (css only) 1. Use an HTML select option for light/dark mode 2. Define a color-palette using css variables 3. Use the :has selector on the body and detect if the dark option is :checked 4. If it's checked, overwrite the css variables (Tutorial on yt)
Adding gradients to text is very easy. Just apply the gradient to the background of the element. Use `background-clip: text` to ensure the gradient appears only where there's text. Then make the text color transparent so that the gradient becomes visible.
Did you know you can use align-content to center elements vertically? It is now possible to use align-content for normal block-level elements, so you no longer need Flexbox or grid to center an element vertically.
United States Тренды
- 1. Cheney 32.1K posts
 - 2. Election Day 83.5K posts
 - 3. Logan Wilson 3,153 posts
 - 4. Good Tuesday 27.6K posts
 - 5. GO VOTE 72.9K posts
 - 6. #tuesdayvibe 1,498 posts
 - 7. Rolex 15.9K posts
 - 8. #Talus_Labs N/A
 - 9. Jerry 48.3K posts
 - 10. #Election2025 2,234 posts
 - 11. Halliburton 1,753 posts
 - 12. George W. Bush 8,539 posts
 - 13. Hogg 7,820 posts
 - 14. iPads N/A
 - 15. Tommy Robinson 26.6K posts
 - 16. Congratulations Laura N/A
 - 17. Jonathan Bailey 48K posts
 - 18. Comey 97K posts
 - 19. #AllsFair N/A
 - 20. #WeTVAlwaysMore2026 1.52M posts
 
Something went wrong.
Something went wrong.