gpt4 book ai didi

css - 包含在现有元素中的最小 Bootstrap CSS

转载 作者:行者123 更新时间:2023-11-28 10:34:28 25 4
gpt4 key购买 nike

我想为 SquirrelMail 创建自定义样式表。

如何在单个 css 文件中从 bootstrap 获得圆 Angular 和蓝色发光,我可以将其包含在 SquirrelMail 中?

我已经知道如何create glowing input fields and textareas

最佳答案

这将创建发光的输入字段和文本区域:

textarea,textarea:focus,input,input:focus{
transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
border: 1px solid #c4c4c4;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
box-shadow: 0px 0px 8px #d9d9d9;
-moz-box-shadow: 0px 0px 8px #d9d9d9;
-webkit-box-shadow: 0px 0px 8px #d9d9d9;
}

input:focus,textarea:focus {
outline: none;
border: 1px solid #7bc1f7;
box-shadow: 0px 0px 8px #7bc1f7;
-moz-box-shadow: 0px 0px 8px #7bc1f7;
-webkit-box-shadow: 0px 0px 8px #7bc1f7;
}

否则您将不得不从 customized bootstrap 中提取 CSS 规则,但这很可能会导致文件变大且无法读取。

关于css - 包含在现有元素中的最小 Bootstrap CSS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23390651/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com