Horizontal Scroll Categories Using CSS

  • ramzan
  • April 3, 2022
  • 4 min read

Learn how to scroll categories horizontally in your Website or App: Create a file test-scroll.html  Copy below code and paste into it. <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″ /> <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″ /> <link rel=”stylesheet” href=”style.css”> <title>Scroll</title> <style> .category-block:focus { background-color:yellow; } </style> </head> <body> <div> <h1>Horizontal Scroll Categories</h1> […]

Read More