CSS Scss Sass Less – Bitkorn Blog https://blog.bitkorn.de Developer Zeugz Thu, 03 Mar 2022 13:22:35 +0000 de-DE hourly 1 https://wordpress.org/?v=6.3.1 CSS Zeug https://blog.bitkorn.de/css-zeug/ Thu, 03 Mar 2022 13:03:15 +0000 https://blog.bitkorn.de/?p=1122 force table column width
table.forced-width {
    width: 100%;
    table-layout: fixed !important;
}
table.forced-width td {
    white-space: nowrap;
    overflow: hidden;
}

table without borders

https://developer.mozilla.org/de/docs/Web/CSS/border-spacing

table.without-borders {
    border-spacing: 0;
    border-collapse: separate;
}
]]>
center an absolutely positioned element https://blog.bitkorn.de/center-an-absolutely-positioned-element/ Sat, 01 Aug 2020 05:38:54 +0000 http://blog.bitkorn.de/?p=830 div.display-message-wrapper { } div.display-message { position: absolute; top: 0; left: 0; right: 0; width: 80%; margin: auto; }
<div class="display-message-wrapper">
    <div class="display-message">
        ...
    </div>
</div>
]]>
remove ghost border in Google Chrome https://blog.bitkorn.de/remove-ghost-border-in-google-chrome/ Tue, 12 May 2020 18:44:28 +0000 http://blog.bitkorn.de/?p=764 button { // remove ghost border in Google Chrome outline: none; } ]]> Node Sass does not yet support your current environment https://blog.bitkorn.de/node-sass-does-not-yet-support-your-current-environment/ Wed, 19 Feb 2020 07:52:08 +0000 http://blog.bitkorn.de/?p=721 Folgende Fehlermeldung kommt bei npm run serve in einem vue ^2.6.10 Projekt mit node-sass ^4.9.0:

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (79)

Abhilfe schafft:

npm rebuild node-sass

…wenn nur eine Version von node-sass installiert ist.

Mit:

npm ls node-sass

sieht man alle Versionen.

]]>