当前位置:网站首页>Style modification of Mui bottom navigation
Style modification of Mui bottom navigation
2022-07-02 06:00:00 【Serena_ tz】
Problems encountered : Want to be MUI The bottom navigation bar plus an upper border and upper and inner margins are not displayed , But other styles of operating the navigation bar will show . Last , It was found that the problem reserved for the navigation bar at the beginning was not enough . therefore , When there is no response to the modified style, we should consider whether it is blocked by other elements .
Use MUI The bottom navigation bar of wants to modify the navigation top split line .
.mui-bar-tab {
background-color: #fff;
height: 49px;
box-shadow: 0px 0px 8px 0px rgba(102,102,102, 0.6);
padding-top: 5px;
}
When adding sub pages, reserve space for the bottom navigation .
var firstBack = null; // Record the first click back event
let plusReadyChildren = ['home']; // The record has plusReady Of the subpage of id. Subpage plusReady This array will be written after
var styles = {
top: '0px',
bottom: '50px',
scrollIndicator: 'none'
};
Above bottom The value of is 50px, So the bottom navigation bar only 50px The location of .
It is best to use lines to set the navigation bar split line , Because the shadow has an area , It's hard to reserve a place for them to show .
边栏推荐
- 492.构造矩形
- Cambrian was reduced by Paleozoic venture capital and Zhike shengxun: a total of more than 700million cash
- memcached安装
- Generics and generic constraints of typescript
- Practice C language advanced address book design
- 51 single chip microcomputer - ADC explanation (a/d conversion, d/a conversion)
- [PHP是否安装了 SOAP 扩]对于php实现soap代理的一个常见问题:Class ‘SoapClient‘ not found in PHP的处理方法
- php数组转化为xml
- Matplotlib double Y axis + adjust legend position
- Scheme and implementation of automatic renewal of token expiration
猜你喜欢
![Redis key value database [primary]](/img/47/10461d12720a9dd801f80ed1d3ad23.jpg)
Redis key value database [primary]

神机百炼3.52-Prim

51单片机——ADC讲解(A/D转换、D/A转换)

vite如何兼容低版本浏览器

深度学习分类网络--Network in Network

keepalived安装使用与快速入门

5g market trend in 2020

Problems encountered in uni app development (continuous update)

【論文翻譯】GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond

Lingyunguang rushes to the scientific innovation board: the annual accounts receivable reaches 800million. Dachen and Xiaomi are shareholders
随机推荐
页面打印插件print.js
Generics and generic constraints of typescript
File contains vulnerability (I)
Shenji Bailian 3.53-kruskal
PHP 开发与测试 Webservice(SOAP)-Win
Brain and cognitive neuroscience matlab psychoolbox cognitive science experimental design - experimental design 4
Comment utiliser mitmproxy
vite如何兼容低版本浏览器
Redis Key-Value数据库 【高级】
token过期自动续费方案和实现
PHP gets CPU usage, hard disk usage, and memory usage
使用HBuilderX的一些常用功能
VSCode paste image插件保存图片路径设置
【论文翻译】GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond
Reading notes of cgnf: conditional graph neural fields
Redis key value database [advanced]
Page printing plug-in print js
《CGNF: CONDITIONAL GRAPH NEURAL FIELDS》阅读笔记
Stick to the big screen UI, finereport development diary
mysql事务和隔离级别