How to change border color of Bootstrap-select

后端 未结 2 525
心在旅途
心在旅途 2021-01-23 08:11

For a custom framework like Bootstrap select https://silviomoreto.github.io/bootstrap-select/ how do I change the border color of a select box in Javascript?

I tried th

2条回答
  •  生来不讨喜
    2021-01-23 08:53

    
    
        
    
        
        
        
        
        
        
    
        
    
    
    
    
        

    You can override the CSS

    .bootstrap-select{ border: 1px solid red //sample }

    Hope this helps

    Update: By using JavaScript, this can be done as shown below (considering all required JS file as added already)

提交回复
热议问题