@extend scss by standard Bootstrap classes

Topic: @extend scss by standard Bootstrap classes

egorstavskiy free asked 1 year ago

Hello. Im using the MDB-Gulp-Free_4.19.1 version of MDB and I've got the problem with using @extend in scss. Please help me to properly use it.

Expected behavior Trying to apply bootstrap class styles to my class in _custom-styles.scss (code example below)

Actual behavior Terminal outputs: "failed to @extend ".w-100". The selector ".w-100" was not found."

Resources (screenshots, code snippets etc.) .class {@extend .w-100;@extend .d-sm-none;}

Tomek Makowski staff commented 1 year ago


Here you have SASS documentation, how to use @extend in a proper way.



Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: MacBook Pro 2017
  • Browser: Safari
  • OS: OSX Catalina 10.15.6
  • Provided sample code: No
  • Provided link: No