• Admin
  • Receive an Update

    You are Here in » » Add Keyboard Keys Effect To Your Text in Blogger with CSS

    Add Keyboard Keys Effect To Your Text in Blogger with CSS

    For many of us the design and the template are the most important, making our readers be more interested and coming back to our blog. There's an HTML element meant for marking up keyboard keys named <kbd> which can be styled with CSS, so why not use it to make those elements look the keyboard keys?

    Thus, in this tutorial, I am going to show you how to create a keyboard keys effect with CSS. It doesn't require images so your blog will load faster.

    how to add keyboard keys with css in blogger

    How to Add Keyboard Keys to Blogger

    Step 1. From Blogger Dashboard, select your blog and go to Template > Edit HTML

    edit the html of blogger template

    Step 2. Click anywhere inside the code area, press the Ctrl + F keys and search for this piece of code:
    Click on the arrow to expand the code

    Step 3: Just above ]]></b:skin> paste this CSS style:
    border:1px solid gray;
    box-shadow:1px 0 1px 0 #eee, 0 2px 0 2px #ccc, 0 2px 0 3px #444;
    margin:2px 3px;
    padding:1px 5px;
    Step 4. To save the changes, press the Save change button.

    Finally, we need to add the html <kbd> tags to the text on which we want to apply the keyboard keys style.
    From your blogger's dashboard, go to create a New Post, write the text on which you want to apply the style and go to the HTML tab. Before and after the text, add the following HTML tags:
    <kbd>Ctrl</kbd> + <kbd>F</kbd>

    text with keyboard key effect

    This will make it to look like this:

    Ctrl + F

    More Articles


    Make use of Smilleys Codes


    Oyo, Nigeria.


    [email protected]

    Mondays to Saturdays 09:00 - 18:00 (GMT +01:00)


    Azeeztech is a Nigerian-based Tech. support platform where anybody can get free solutions to device issues & questions.


    Get notified on FB