react-native css属性
2015-12-29 08:10
489 查看
react-native的CSS和标准的浏览器css有很多不同之处,下面是react-native支持的样式
[code]Valid style props: [ "alignItems", "alignSelf", "backfaceVisibility", "backgroundColor", "borderBottomColor", "borderBottomLeftRadius", "borderBottomRightRadius", "borderBottomWidth", "borderColor", "borderLeftColor", "borderLeftWidth", "borderRadius", "borderRightColor", "borderRightWidth", "borderStyle", "borderTopColor", "borderTopLeftRadius", "borderTopRightRadius", "borderTopWidth", "borderWidth", "bottom", "color", "elevation", "flex", "flexDirection", "flexWrap", "fontFamily", "fontSize", "fontStyle", "fontWeight", "height", "justifyContent", "left", "letterSpacing", "lineHeight", "margin", "marginBottom", "marginHorizontal", "marginLeft", "marginRight", "marginTop", "marginVertical", "maxHeight", "maxWidth", "minHeight", "minWidth", "opacity", "overflow", "padding", "paddingBottom", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingTop", "paddingVertical", "position", "resizeMode", "right", "rotation", "scaleX", "scaleY", "shadowColor", "shadowOffset", "shadowOpacity", "shadowRadius", "textAlign", "textDecorationColor", "textDecorationLine", "textDecorationStyle", "tintColor", "top", "transform", "transformMatrix", "translateX", "translateY", "width", "writingDirection" ]
相关文章推荐
- ReactiveCocoa框架下的MVVM模式解读
- Reactive-Native学习:查看8081端口
- 记录ReactNative在windows下Android环境配置
- react+babel+webpack初试
- ReactiveCocoa 框架 (一)-- 函数响应式编程(FRP)框架
- Reactive-Native学习:iOS工程内嵌React-Native(一)
- react-native start 运行流程
- ReactiveCocoa源码拆分解析(三)
- React 学习二 组件
- react canvas
- Redux系列02:一个炒鸡简单的react+redux例子
- Codeforces Round #336 (Div. 2) 608C Chain Reaction(dp)
- ReactNativeiOS(三)开发零碎1 Fetch错误Network request failed
- React开发项目例子
- iOS开发,入门级ReactiveCocoa教程(二)
- React-Native频繁修改IP,烦吗
- Codeforces Round #336 (Div. 2) C. Chain Reaction
- React-Native中的布局
- 运行React-Native例子UIExplorer
- Ubuntu进行 React-Native 的开发