Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Style documentation is very poor

未关闭
#587 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
30/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
领域
documentation

调研方向

从链接的 modal CSS 自定义属性页面开始,复现报告中为 modal 背景添加不透明度的尝试。明确应该为页面、modal host 还是其他元素设置样式,并记录一个可行的示例,其结果可以在 modal 中验证。

由索引模型根据 Issue 内容生成。

描述

content

URL
https://ionicframework.com/docs/api/modal#css-custom-properties

What is missing or inaccurate about the content on this page?
I mean I've been working with ionic since May in 2018 (Ionic 3 then, Ionic 4 since stable release came out) and honestly is very cumbersome to style elements. The documentation does not explain anything and what it explains it just doesn't work. most of the times I have to inspect the elements through the dev tools and see which one I'm supposed to style.

In the example I'm giving, I'm trying to add opacity to the background color of the modal but is very impossible to do. Documentation does not explain if this should be done to the page itself that the modal controller is hosting, or if there is some ion-modal element that we should tackle.

主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
86

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ionic-team/ionic-docs 的其他 Issue

查看 ionic-team/ionic-docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。