Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset CSS for unified display #25

Open
a632079 opened this issue Feb 17, 2018 · 4 comments
Open

Reset CSS for unified display #25

a632079 opened this issue Feb 17, 2018 · 4 comments
Assignees

Comments

@a632079
Copy link

a632079 commented Feb 17, 2018

Due to My English is not well , I give two languages below.
播放器目前会受上级样式干扰,造成在不同站点嵌入 (受上级 CSS 影响),会产生不同的显示效果。
例如:

  • 字体不统一
  • 边距不统一
  • 字重不统一
    基于这个,所以我曾经建立了 iframe 项目,为了统一的浏览器显示。 但其实这只是无奈的做法, 甚至某些时候还需要 js 来辅助适应元素 (Cplayer 的 播放列表)。 所以,很期待进行样式重置,以便统一的显示效果。

Players will now be subject to superior style interference, resulting in embedded in different sites (by superior CSS effects), will have a different display.
E.g:

  • Fonts are not uniform
  • Margin/Padding is not uniform
  • Font weight is not uniform
    Based on this, so I have set up an iframe project, in order to display a unified browser. But in fact, this is just helplessness, and sometimes even need js to help adapt elements (such as: Cplayer's playlist). So, look forward to the style reset, in order to uniform display.

Translated by Google.

@Copay
Copy link
Member

Copay commented Feb 17, 2018

播放列表真没办法,如果是iframe的话

@a632079
Copy link
Author

a632079 commented Feb 20, 2018

@Copay 😸 恩, 当时使用 iframe 主要就是样式被上级 css 破坏了。

@EYHN
Copy link
Member

EYHN commented Feb 25, 2018

css的污染,只能是你自己处理啊。

@a632079
Copy link
Author

a632079 commented Mar 3, 2018

所以只能说是一个增强性的提议。 CSS 干扰可以通过类内优先级进行适当的样式统一重置(Reboot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants