gpt4 book ai didi

html - 在 Ionic 2 中使用 时如何显示 的阴影/边框

转载 作者:行者123 更新时间:2023-11-28 03:07:13 24 4
gpt4 key购买 nike

作为标题,我试图显示内部的阴影/边框,但我找不到解决方案。我使用了一些 css 代码,但没有任何改变

这是我的 HTML 代码

<ion-header>
<ion-navbar color="{{this.appService.appColor}}">
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>
Feedbacks
</ion-title>
</ion-navbar>
<ion-toolbar color="{{this.appService.appColorDark}}">
<ion-segment [(ngModel)]="seg" color="{{this.appService.appStyle}}">
<ion-segment-button value="users">
<font color="white">Users Messages</font>
</ion-segment-button>
<ion-segment-button value="visitors">
<font color="white">Visitor Messages</font>
</ion-segment-button>
</ion-segment>
</ion-toolbar>
</ion-header>

HTML 输出:

enter image description here

需要的输出:

enter image description here

Note: this picture has been drawn by windows paint. I uploaded to give you sample example for what I want.

最佳答案

我认为解决这个问题的最佳方案是用制表符替换段。

关于html - 在 Ionic 2 中使用 <ion-segment> 时如何显示 <ion-navbar> 的阴影/边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45892433/

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