How to show all my inputs with color of text-primary

Discussion in 'CSS' started by mstdmstd, Dec 23, 2017.

  1. #1
    Hello,
    Using scss with bootstrap if there is a way to show all my inputs with color of text-primary, something like this:
    .form-control {
      @extend.color text-primary.color;
      border: 1px dotted green;
    }
    Code (CSS):
    ?
    all my inputs has form-control class set...

    Thanks!
     
    mstdmstd, Dec 23, 2017 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    All your inputs have the same class... and you don't see the problem with this? Oh wait, you've been duped into using bootcrap... THIS is an example of why I say the ONLY thing you can learn from that train wreck of developer ineptitude is mental enfeeblement.
     
    deathshadow, Dec 28, 2017 IP