Twine

Rock , Paper and Scissor game (CSS FILE)

Anuj Upadhyay
Published

0
  • Project creator

The main.css file styles the Rock, Paper, Scissors web game with a clean, interactive, and visually appealing design. It begins with a reset of default margins and paddings to ensure consistency across browsers. The main heading (<h1>) is given a bold look with a blue background, white text, and centralized alignment to grab the user’s attention. Each game option (rock, paper, scissors) is styled within a circular choice container with hover effects that change the background color, enhancing interactivity. Images inside these containers are rounded and centered, providing a clean, modern look. The .choices class arranges the game options horizontally with spacing between them, using Flexbox for alignment. The scoreboard section is also centered with large, readable fonts and space between user and computer scores. The .msg class styles the result display with a dark blue background, white text, and rounded corners for a polished notification-style appearance. Overall, this CSS file contributes significantly to a user-friendly and visually engaging gameplay experience.