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

How to remove borders in bootstrap

藏色散人
Release: 2020-11-13 10:24:31
Original
6318 people have browsed it

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
Copy after login

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;
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template