Skip to content

Commit 288e341

Browse files
authored
Update active-directory-b2c-html-how-to.md
Link to the page layout version
1 parent 188e8ef commit 288e341

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/active-directory-b2c-html-how-to.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: mmacy
33
ms.service: active-directory-b2c
44
ms.subservice: B2C
55
ms.topic: include
6-
ms.date: 02/12/2020
6+
ms.date: 02/26/2020
77
ms.author: marsma
88
---
99
## Use custom page content
@@ -55,7 +55,7 @@ When using your own HTML and CSS files to customize the UI, host your UI content
5555
## Guidelines for using custom page content
5656

5757
- Use an absolute URL when you include external resources like media, CSS, and JavaScript files in your HTML file.
58-
- Add the `data-preload="true"` attribute in your HTML tags to control the load order for CSS and JavaScript. With `data-preload=true`, the page is constructed before being shown to the user. This attribute helps prevent the page from "flickering" by preloading the CSS file, without the un-styled HTML being shown to the user. The following HTML code snippet shows the use of the `data-preload` tag.
58+
- Using [page layout version](../articles/active-directory-b2c/page-layout.md) 1.2.0 and above, you can add the `data-preload="true"` attribute in your HTML tags to control the load order for CSS and JavaScript. With `data-preload=true`, the page is constructed before being shown to the user. This attribute helps prevent the page from "flickering" by preloading the CSS file, without the un-styled HTML being shown to the user. The following HTML code snippet shows the use of the `data-preload` tag.
5959
```HTML
6060
<link href="https://path-to-your-file/sample.css" rel="stylesheet" type="text/css" data-preload="true"/>
6161
```

0 commit comments

Comments
 (0)