Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· openaiHugging Face Suzhen/CodeChat

CSS: Do a Windows-ish button style for idle, hover and all other states, it should have…

  1. User

    CSS: Do a Windows-ish button style for idle, hover and all other states, it should have a gray border, a light-gray background, and a Segoe UI font in it

  2. Assistant

    Here's the CSS code for a Windows-ish button style for idle, hover and all other states:

    /* Styles for idle state */
    button {
      border: 1px solid #BBBBBB; /* gray border */
      background-color: #F5F5F5; /* light-gray background */
      font-family: "Segoe UI", sans-serif; /* use Segoe UI font */
      font-size: 16px;
      color: #333333;
      padding: 10px 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    /* Styles for hover state */
    button:hover {
      background-color: #E5E5E5; /* slightly darker background */
    }
    
    /* Styles for active / pressed state */
    button:active {
      border-color: #888888; /* darker border */
      background-color: #DDDDDD; /* even darker background */
    }
    

    You can adjust the border, background, font, and other styles to match your specific needs or preferences.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.