/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-syntax-css.md | 1 # CSS语法参考 4 CSS是描述HML页面结构的样式语言。所有组件均存在系统默认样式,也可在页面CSS样式文件中对组件、页面自定义不同的样式。 18 为了模块化管理和代码复用,CSS样式文件支持 \@import 语句,导入 CSS 文件。
|
H A D | js-service-widget-common-mediaquery.md | 18 ## CSS语法规则 25 CSS-Code; 33 \@media (max-height: 800) { … } // 范围查询,CSS level 3 写法 35 \@media (height <= 800) { … } // 范围查询,CSS level 4 写法,与CSS level3写法等价
|
H A D | js-service-widget-file.md | 26 - .css结尾的CSS样式文件,这个文件用于描述页面样式。 48 - CSS样式文件中通过url()函数创建<url>数据类型,如:url(/common/test.png)。
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-safe-area-insets.md | 10 Web组件提供了利用W3C CSS进行安全区域计算并避让适配的能力,用来支持异形屏幕设备在沉浸式效果下页面的正常显示,网页开发者可以使用该能力对重叠元素进行避让。ArkWeb内核将持续监测Web组件… 46 网页元素的避让适配主要依赖于`env()` CSS函数,该函数用于在CSS中插入由用户代码定义的变量。这使得开发人员能够将内容置于可视窗口(viewport)的安全区域内。在规范中定义的`safe-… 55 /* 下述长度单位参见:https://developer.mozilla.org/zh-CN/docs/Web/CSS/length */ 66 不同于其他的CSS属性,用户代理定义的属性名字对大小写敏感。同时,需要注意`env()`必须配合`viewport-fit=cover`使用。
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-framework-syntax-css.md | 1 # CSS语法参考 4 CSS是描述HML页面结构的样式语言。所有组件均存在系统默认样式,也可在页面CSS样式文件中对组件、页面自定义不同的样式。 9 为了模块化管理和代码复用,CSS样式文件支持 \@import 语句,导入 CSS 文件。
|
H A D | js-lite-components-common-mediaquery.md | 13 ## CSS语法规则 19 CSS-Code; 25 @media (max-height: 454) { … } :范围查询,CSS level 3 写法
|
H A D | js-lite-framework-file.md | 16 - .css结尾的CSS样式文件,这个文件用于描述页面样式。 45 - CSS样式文件中通过url()函数创建<url>数据类型,如:url(/common/xxx.png)。
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | js-framework-syntax-css.md | 1 # CSS语法参考 3 CSS是描述HML页面结构的样式语言。所有组件均存在系统默认样式,也可在页面CSS样式文件中对组件、页面自定义不同的样式。请参考[通用样式](../reference/apis-arkui/arku… 17 为了模块化管理和代码复用,CSS样式文件支持 \@import 语句,导入css文件。 191 ## CSS样式继承<sup>6+</sup>
|
H A D | ui-js-overview.md | 3 兼容JS的类Web开发范式的方舟开发框架,采用经典的HML、CSS、JavaScript三段式开发方式。使用HML标签文件进行布局搭建,使用CSS文件进行样式描述,使用JavaScript文件进行逻…
|
H A D | arkui-overview.md | 20 - **类Web开发范式**:采用经典的HML、CSS、JavaScript三段式开发方式,即使用HML标签文件搭建布局、使用CSS文件描述样式、使用JavaScript文件处理逻辑。该范式更符合于…
|
H A D | js-framework-file.md | 19 - .css结尾的CSS样式文件,描述页面样式。 58 - CSS样式文件中通过url()函数创建<url>数据类型,如:url(/common/xxx.png)。
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-common-mediaquery.md | 18 ## CSS语法规则 24 CSS-Code; 30 @media (max-height: 800) { … } :范围查询,CSS level 3 写法 32 @media (height <= 800) { … } :范围查询,CSS level 4 写法,与CSS level3写法等价
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-framework-syntax-css.md | 1 # CSS chapter 4 …CSS) is a language used to describe the HML page structure. All HML components have default styles… 9 CSS files can be imported using the **\@import** statement. This facilitates module management and … 54 A CSS selector is used to select elements for which styles need to be added to. The following table… 96 A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected … 126 Precompilation is a program that uses specific syntax to generate CSS files. It provides variables …
|
H A D | js-lite-components-common-mediaquery.md | 13 ## CSS Syntax Rules 19 CSS-Code; 25 **@media (max-height: 454) { … }**: Range query. CSS level 3 is used.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-syntax-css.md | 1 # CSS chapter 4 …CSS) is a language used to describe the HML page structure. All HML components have default styles… 18 CSS files can be imported using the **\@import** statement. This facilitates module management and … 63 A CSS selector is used to select elements for which styles need to be added to. The following table…
|
H A D | js-service-widget-common-mediaquery.md | 18 ## CSS Syntax Rules 25 CSS-Code; 33 \@media (max-height: 800) { … } // Range query. CSS level 3 is used. 35 …(height <= 800) { ... } // Range query. CSS level 4 is used, and the statement is equivalent to…
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | js-framework-syntax-css.md | 1 # CSS chapter 3 …CSS) is a language used to describe the HML page structure. All HML components have default styles… 17 CSS files can be imported using the **@import** statement. This facilitates module management and c… 58 A CSS selector is used to select elements for which styles need to be added to. The following table… 123 A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected … 156 Precompilation is a program that uses specific syntax to generate CSS files. It provides variables … 190 ## CSS Style Inheritance<sup>6+</sup> 192 CSS style inheritance enables a child node to inherit the style of its parent node. The inherited s…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-richtext.md | 75 …认值是3,由于<font/>标签在HTML 4.01中不建议使用,在XHTML1.0 Strict DTD中不支持,所以不建议使用此标签,请使用CSS代替。CSS语法:\<p style="fon… 78 | \<div>\</div> | 常用于组合块级元素,以便通过CSS来对这些元素进行格式化。 | \<div style='color:#0000FF'>\<h3>这是一个在div元素中的标题。\…
|
/ohos5.0/docs/zh-cn/application-dev/key-features/multi-device-app-dev/ |
H A D | introduction.md | 46 - **类Web开发范式**:采用经典的HML、CSS、JavaScript三段式开发方式。使用HML标签文件进行布局搭建,使用CSS文件进行样式描述,使用JavaScript文件进行逻辑处理。UI…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-common-mediaquery.md | 18 ## CSS Syntax Rules 24 CSS-Code; 30 @media (max-height: 800) { … }: Range query. CSS level 3 is used. 32 …edia (height <= 800) { ... }: Range query. CSS level 4 is used, and the statement is equivalent to…
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-safe-area-insets.md | 10 The **Web** component provides the capability of using W3C CSS to calculate and adjust the safe are… 46 … page elements, you need to pass the variables defined by user code to the CSS function **env()**,… 55 /* For details about the length unit, see https://developer.mozilla.org/en-US/docs/Web/CSS/length *… 66 Different from other CSS attributes, the name of attribute defined by the user agent is case sensit…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-richtext.md | 75 …01 and not supported in XHTML1.0 Strict DTD. Use the CSS font properties to style text instead. CS… 78 …at is generally used to group block-level elements. It allows you to apply CSS styles to multiple … 81 | \<style>\</style> | Used to embed CSS within an HTML document.| \<style>h1{color:red;}p{color:blu…
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | web-analyse.md | 126 | DOM&CSS解析 | CSSParserImpl::parseStyleShee和ParseHTML解析,扣除HTMLDocumentParser::RunScriptsForPausedTr…
|
/ohos5.0/docs/zh-cn/application-dev/form/ |
H A D | js-ui-widget-development.md | 89 - [开发卡片页面](#开发卡片页面):使用HML+CSS+JSON开发JS卡片页面。 379 开发者可以使用类Web范式(HML+CSS+JSON)开发JS卡片页面。生成如下卡片页面,可以这样配置卡片页面文件: 400 - CSS:HML中类Web范式组件的样式信息。 504 - CSS文件
|
/ohos5.0/foundation/arkui/ace_engine/ |
H A D | README.md | 11 …framework provides basic, container, and canvas UI components and standard CSS animation capabilit… 15 … languages that are similar to those for web development, such as HTML and CSS. You can use them t…
|