Follow-up to #13074: use spec syntax instead of deprecated mixins

Refs #13074 and https://github.com/twbs/bootstrap/commit/c7970106a2c8edaac46b7bfa4e02aed10971a400#commitcomment-7249462