What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-03-06 05:05:02
setup scss in vue
npm i node-sass sass-loader // create the path: styles/main.scss in your src directory –src |––styles |––main.scss // add this to your vue.config.js file in the root directory module.exports = { css: { loaderOptio... Add solution -
Javascript 2022-03-03 23:35:02
sass variables across files
// When importing the master, you leave out the underscore, and it // will look for a file with the underscore. This prevents the SCSS // compiler from generating a CSS file from it. @import "assets/master"; // Then do the rest of my CSS afterw... Add solution -
CSS 2022-03-02 22:40:19
ionic install font
// in the fonts.scss file, add the font-face for each font file @font-face { font-family: 'Source Code Pro'; src: url('../assets/fonts/SourceCodePro-ExtraLight.ttf'); font-weight: 200; font-style: normal; } // Import font.scss; add the follow... Add solution -
CSS 2022-02-26 00:25:26
sass compressed style
sass --watch a.scss:a.css --style compressed Add solution -
TypeScript 2022-02-13 09:05:25
angular get current date yyyy-mm-dd
import { DatePipe } from '@angular/common'; @Component({ templateUrl: './name.component.html', styleUrls: ['./name.component.scss'], providers: [DatePipe] }) myDate = new Date(); constructor(private datePipe: DatePipe){ this.myDate = thi... Add solution -
CSS 2022-02-10 06:45:01
angular cdk overlay changing styles css
/* First make sure you have the cdk styles if not using material already */ @import '~@angular/cdk/overlay-prebuilt.css'; /** * Using cdk input class property * (intended way) */ .custom-dialog-container .mat-dialog-container { /* add your styles */... Add solution