Version | Prefix |
---|---|
bootstrap 4.x | bs4- |
bootstrap 5.x | bs5- |
Example
bootstrap 5 button
-# bs5-button
%button.btn.btn-primary{type: 'button'}
My Button
Enable/disable CSS class completion in the settings.
{
"hamlBootstrap.enableCssClassCompletion": true
}
The current bootstrap version is determined by:
- The version of the
bootstrap
package in thenode_modules
folder. - The version of the
bootstrap
gem in theGemfile.lock
file. - Latest version of the
bootstrap
package on CDN.