Home  >  Article  >  Web Front-end  >  How to remove borders in bootstrap

How to remove borders in bootstrap

藏色散人
藏色散人Original
2020-11-13 10:24:316227browse

How to remove the border in bootstrap: first open the corresponding code file; then remove the border by setting the css style to "border:none", or use the style "input:focus {outline: none;}" to remove it Just the border.

How to remove borders in bootstrap

Recommendation: "bootstrap tutorial"

bootstrap removes button border:

Use the following CSS style to remove it

border:none

If you want to remove the default style or customize the border style of the input box, you can use the following code:

input:focus {
outline: none;
border-color: #cfdc00;
box-shadow: 0 0 5px rgba(207, 220, 0, 0.4);
border-radius: 5px;
}

The above is the detailed content of How to remove borders in bootstrap. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn