This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Customize +/- slider
#13
(23.03.2020, 07:39)admin Wrote: Border color can be changed like this:
Code:
.control-spinner .btn {
  background-color: #f90;
  background-image: none;
  border-color: #f0f;
}

.control-spinner input {
  border-color: #f0f;
}

The whole visualization is just HTML/CSS/JS. Any tutorial on basic web front-end development can be applied here.


I have tried to add some adjustments of corner radius to the code you provided.

.control-spinner .btn {
  background-color: #f90;
  background-image: none;
  border-color: #000;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}


The parameters for the radius is then striked thru in the inspector. Any idea why that is?
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
Customize +/- slider - by Mirco - 16.12.2016, 15:13
RE: Customize +/- slider - by admin - 16.12.2016, 18:21
RE: Customize +/- slider - by Mirco - 19.12.2016, 08:43
RE: Customize +/- slider - by admin - 19.12.2016, 08:56
RE: Customize +/- slider - by Mirco - 19.12.2016, 10:22
RE: Customize +/- slider - by matschi - 22.12.2016, 13:17
RE: Customize +/- slider - by admin - 23.12.2016, 07:27
RE: Customize +/- slider - by Trond Hoyem - 23.03.2020, 07:02
RE: Customize +/- slider - by admin - 23.03.2020, 07:25
RE: Customize +/- slider - by Trond Hoyem - 23.03.2020, 07:31
RE: Customize +/- slider - by admin - 23.03.2020, 07:39
RE: Customize +/- slider - by Trond Hoyem - 23.03.2020, 07:48
RE: Customize +/- slider - by admin - 23.03.2020, 08:01
RE: Customize +/- slider - by Trond Hoyem - 23.03.2020, 08:02
RE: Customize +/- slider - by Trond Hoyem - 23.03.2020, 14:58
RE: Customize +/- slider - by admin - 23.03.2020, 15:21
RE: Customize +/- slider - by Trond Hoyem - 23.03.2020, 15:30

Forum Jump: