如何在 VS Code 中添加 css 样式?

问题描述 投票:0回答:0

如何将此 css 属性添加到 VS Code:

body::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
            rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.25) 50%
        ),
        linear-gradient(
            90deg,
            rgba(255, 0, 0, 0.06),
            rgba(0, 255, 0, 0.02),
            rgba(0, 0, 255, 0.06)
        );
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    /* pointer-events: none; */
}

我在 BetterDiscord 中看到了这个主题,并试图在 VS Code 中做同样的事情,但我不知道如何做: Fallout 4 Terminal

链接:(https://gibbu.github.io/ThemePreview/?file=https://cdn.jsdelivr.net/gh/CommandCrafterHD/Fallout4TerminalTheme/Fallout4Terminal.theme.css

如果您知道如何使用 CSS 设置 VS Code 编辑器主题的样式,请告诉我。

visual-studio-code themes
© www.soinside.com 2019 - 2024. All rights reserved.