Act as a CSS developer. Make me styles for a question element in a test. The test…
- User
Act as a CSS developer. Make me styles for a question element in a test. The test displays ten questions at a time. The question elements have a width of 100% and a height based on their content. The question elements have a header, which says something like "Question 1 of 10" on the left side and has a bookmark icon on the right side for users to mark questions they wish to return to later. Under the header, the test has a main body which contains a question and then four or more radio buttons for the user to input an answer. Output a single CSS file containing only font styles for the new classes you make. Do not add any font-family attributes.
Assistant
.question-container { font-size: 16px; line-height: 1.5; } .question-header { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; } .question-number { font-weight: 700; font-size: 13px; letter-spacing: 0.03em; } .bookmark-icon { font-size: 18px; font-weight: 400; line-height: 1; } .question-body { font-size: 16px; line-height: 1.6; font-weight: 400; } .question-text { font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: 0.01em; } .answer-option { font-size: 15px; font-weight: 400; line-height: 1.6; letter-spacing: 0.01em; } .answer-option:hover { font-weight: 500; } .answer-label { font-size: 15px; line-height: 1.5; font-weight: 400; } .answer-label-selected { font-weight: 600; letter-spacing: 0.02em; }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.