Class CssUtils

java.lang.Object
org.springframework.security.web.util.CssUtils

public final class CssUtils extends Object
Provides common CSS classes and styles, valid across Servlet and Reactive stacks.
Since:
6.4
  • Method Details

    • getCssStyleBlock

      public static String getCssStyleBlock()
      Generates the CSS used by all Spring Security default pages, such as login or logout pages.
      Returns:
      the <style> block containing the common CSS