美文网首页
React Native有效的样式属性

React Native有效的样式属性

作者: LevineLi | 来源:发表于2017-07-05 13:41 被阅读56次

    ES有效的Style Valid style props:

    
      "alignContent",//对齐弹性盒的 <div> 元素的各项
    
      "alignItems",//居中对齐弹性盒的各项 <div> 元素
    
      "alignSelf",//居中对齐弹性对象元素内的某个项
    
      "aspectRatio",//定义输出设备中的页面可见区域宽度与高度的比率。
    
      "backfaceVisibility",//属性定义当元素不面向屏幕时是否可见。
    如果在旋转元素不希望看到其背面时,该属性很有用。
    
      "backgroundColor",//设置一个元素的背景颜色
    
      "borderBottomColor",//设置元素的底部边框颜色
    
      "borderBottomLeftRadius",//定义左下角边框的形状
    
      "borderBottomRightRadius",//定义右下角边框的形状
    
      "borderBottomWidth",//定义底部边框的宽度
    
      "borderColor",// 定义边框的颜色
    
      "borderLeftColor",//定义边框左边的颜色
    
      "borderLeftWidth",//定义边框左边的宽度
    
      "borderRadius",// 定义边框的切圆角半径
    
      "borderRightColor",//定义边框右边的颜色
    
      "borderRightWidth",//定义边框右边的宽度
    
      "borderStyle",//定义边框的样式
    
      "borderTopColor",//定义边框顶部的颜色
    
      "borderTopLeftRadius",//定义边框左边的颜色
    
      "borderTopRightRadius",//定义边框右边的切圆角半径
    
      "borderTopWidth",// 定义边框顶部的宽度
    
      "borderWidth",//定义边框的宽度
    
      "bottom",// 底部
    
      "color",//  颜色
    
      "direction",//
    
      "display",//
    
      "elevation",//
    
      "flex",//设置或检索弹性盒模型对象的子元素如何分配空间
    
      "flexBasis",//
    
      "flexDirection",//
    
      "flexGrow",//
    
      "flexShrink",//
    
      "flexWrap",//
    
      "fontFamily",//
    
      "fontSize",//
    
      "fontStyle",//
    
      "fontVariant",//
    
      "fontWeight",//
    
      "height",//
    
      "includeFontPadding",//
    
      "justifyContent",//
    
      "left",//
    
      "letterSpacing",//
    
      "lineHeight",//
    
      "margin",//
    
      "marginBottom",//
    
      "marginHorizontal",//
    
      "marginLeft",//
    
      "marginRight",//
    
      "marginTop",//
    
      "marginVertical",//
    
      "maxHeight",//
    
      "maxWidth",//
    
      "minHeight",//
    
      "minWidth",//
    
      "opacity",//
    
      "overflow",//
    
      "overlayColor",//
    
      "padding",//
    
      "paddingBottom",//
    
      "paddingHorizontal",//
    
      "paddingLeft",//
    
      "paddingRight",//
    
      "paddingTop",//
    
      "paddingVertical",//
    
      "position",//
    
      "resizeMode",//
    
      "right",//
    
      "rotation",//
    
      "scaleX",//
    
      "scaleY",//
    
      "shadowColor",//
    
      "shadowOffset",//
    
      "shadowOpacity",//
    
      "shadowRadius",//
    
      "textAlign",//
    
      "textAlignVertical",//
    
      "textDecorationColor",//
    
      "textDecorationLine",//
    
      "textDecorationStyle",//
    
      "textShadowColor",//
    
      "textShadowOffset",//
    
      "textShadowRadius",//
    
      "tintColor",//
    
      "top",//
    
      "transform",//
    
      "transformMatrix",//
    
      "translateX",//
    
      "translateY",//
    
      "width",//
    
      "writingDirection",//
    
      "zIndex"//
    ]
    

    相关文章

      网友评论

          本文标题:React Native有效的样式属性

          本文链接:https://www.haomeiwen.com/subject/eqhqhxtx.html