Creates CSS files for legacy browsers that don't support CSS custom properties (https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties).
For more information see <see href="https://YetaWF.com/Documentation/YetaWF/Topic/g_dev_cssvariables">CSS Custom Properties.</see> This is mainly used to support IE11 and older. By default this is not used in YetaWF.
When using Bootstrap 4 in a skin, AppSettings.json, Application:P:YetaWF_Core:SupportLegacyBrowser can be set to true to support IE11. Otherwise, any request by IE 11 (and lower) will be redirected to a customizable "Unsupported Browser" page (/Maintenance/Unsupported Browser.html). The default skins in YetaWF use Bootstrap 5. Bootstrap 4 is only available in custom skins.
Namespace: YetaWF.Core.Pages
Assembly: YetaWF.Core
Inheritance
public class CssLegacy : YetaWF.Core.Support.IInitializeApplicationStartup;
CssLegacy | Constructor. |
Equals | Determines whether the specified object is equal to the current object. | |
ExcludeLegacyBrowser | (not specified) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
GetHashCode | Serves as the default hash function. | |
GetType | Gets the Type of the current instance. | |
InitializeApplicationStartupAsync | (not specified) | |
IsLegacyBrowser | Returns whether the browser for the current request is considered a legacy browser. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
ToString | Returns a string that represents the current object. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com