Thứ Hai, 3 tháng 2, 2020

Cách xử lý khi bị đụng css, load css từ cho 1 compnent

- Khi bạn muôn apply một external css cho riêng 1 component , (load từ style.css sẽ bị đụng css), thì làm như sau:
styleUrls: ['./index.component.css','../../assets/admin/dist/css/adminlte.min.css'],
encapsulation: ViewEncapsulation.None

Related Posts:

  • Sử dụng EJS làm view cho node JSCác bước cấu hình 1. Cài đặt các gói cần thiết #npm install --save ejs #npm install --save bootstrap #npm install --save jquery #npm install --save popper 2. Tạo 1 thư mục views - Folder: include : chưa cái file được xử dụng… Read More
  • No version of NDK matched the requested versionLỗi NDK : No version of NDK matched the requested version 21.0.6113669. Versions available locally: 21.3.6528147Cập nhật lại NDK version cho đúng: Trên adnroid studio: -> Tool -> SDK Manager -> Chuyển qua tab SDK too… Read More
  • Các gói npm cần thiết khi sử dụng NodeJS Nodemon: tự động restart lại server nodejs  Tedious: Connect với mssql (Giống mssql-npm) Express: frameword cho nodeJS - Giống Hapi Sails: Fulltack FrameWord cho nodejs (cái này hay nè) Sequilize: ORM dùng để mapping … Read More
  • Validator Form In AngularHave 2 ways validate form in angular.First Way: Use FormBuilderHTML file <form [formGroup]="angForm" novalidate> <div class="form-group"> <label class="center-block">Name: &… Read More
  • Cách xử lý khi bị đụng css, load css từ cho 1 compnent- Khi bạn muôn apply một external css cho riêng 1 component , (load từ style.css sẽ bị đụng css), thì làm như sau: styleUrls: ['./index.component.css','../../assets/admin/dist/css/adminlte.min.css'], encapsulation:&nb… Read More

0 nhận xét:

Đăng nhận xét