Change size of spinner by css

css, html

Solution

I found an answer for you here in another Stack Overflow post:

The "size" element is set to 20 by default, use this class to change it:

.ui-spinner-input {
  width: 50px;
  /* Enter your own width above */
 }

Problem

i'm working on a webpage and i put a spinner like this below: ``` <p:spinner id="mySpinner" .. size="3">...</p:spinner> ``` How can i use css to change the size to make it responsive?

Original source

Related problems