Hotkey for my custom style

Hotkey for my custom style

I`m web developer and I often write documentation. In my documents I use code formatting for blocks of code or for single words very often.

It`s cool when all code have the same style: font is monospace, color is different from normal text. To accomplish this I use my custom css style:
  1. .code {
        font-family: monospace;
        color: blue;
    }




But everytime I want to apply this style I must click on "format" dropdown and choose my style. But I use this very often, so I need hotkey for this just like Ctrl+B. It would be great feature for me.