Home  >  Article  >  Web Front-end  >  ionic css 自定义样式_html/css_WEB-ITnose

ionic css 自定义样式_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:35:091297browse

例子 标签执行后会自动增加一个

 class="item-content" 的定义在ionic.css 中, 展开后的样式可通过chrome的开发者工具查看

若想自定义,只能覆盖对应的css定义,但如果是局部样式重定义,该修改将影响全局样式。

解决方法:

样式修改, 定义特殊的class路径,避免修改全局样式:

.content .item-complex .item-content {    padding:0px;}

其他样式修改方式类似。


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn