您位於此處:
將 Lightning 樣式表手動套用至 Visualforce 頁面
透過 Lightning 樣式表,您可以輕鬆地微調現有的 Visualforce 頁面,讓這些頁面在 Salesforce Classic 中以經典樣式顯示,在 Lightning Experience 中以 Lightning 樣式顯示。

使用較常見的搜尋字詞。
選取較少篩選條件以擴大您的搜尋。
透過 Lightning 樣式表,您可以輕鬆地微調現有的 Visualforce 頁面,讓這些頁面在 Salesforce Classic 中以經典樣式顯示,在 Lightning Experience 中以 Lightning 樣式顯示。
| 提供版本:Group、Professional、Enterprise、Performance、Unlimited 及 Developer Edition |
| 需要的使用者權限 | |
|---|---|
| 建立、編輯或刪除 Visualforce 頁面: | 自訂應用程式 |
<apex:page standardController="Account" lightningStyleSheets="true">
套用 Lightning 樣式表後,以下是 Visualforce 頁面在 Salesforce Classic 中的外觀。
以及以下是在 Lightning Experience 中的外觀。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.