What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-01-30 22:50:19
remove white border around components angular
// if a white border appears in all the components that you add to the page //make sure you have this code in src/styles.scss //(this file the global file of styles for the entire project) body { border: none !important; margin: 0px !important; ... Add solution -
CSS 2022-01-28 00:05:27
como configurar los estilos para utilizar angular material
/* Crear un archivo de estilos styles.scss Agregar el tema que se desea. */ @import '~@angular/material/prebuilt-themes/indigo-pink.css'; html, body { /* Hacer los cambios de estilo deseados */ margin: 2px; padding: 1px; } body{ background-color:... Add solution -
Javascript 2022-01-27 18:05:56
react buttons npm
import { AwesomeButton } from "react-awesome-button";import AwesomeButtonStyles from "react-awesome-button/src/styles/styles.scss"; function Button() { return (&nbs... Add solution -
Javascript 2021-11-06 14:26:09
Import in body of module; reorder to top.
you will get this error if you have declared a variable in between your imports, import React from 'react'; import axios from 'axios'; const URL = process.env.REACT_APP_API_BASE; import demoXLXSFile from '../../assets/others/Demo.xlsx'; import './stude... Add solution -
Shell/Bash 2021-10-26 08:05:23
node sass generate css
node-sass src/my-styles.scss -o src Add solution -
Javascript 2021-09-07 23:41:02
how to add toaster in angular 9
npm install ngx-toastr --save npm install @angular/animations --save // angular.json "styles": [ "styles.scss", "node_modules/ngx-toastr/toastr.css" // try adding '../' if you're // using angular cli before ... Add solution