Skip to content Skip to sidebar Skip to footer

Add Keyboard Keys Effect To Your Text in Blogger with CSS

For many of us, design and pattern is the main thing that keeps our readers interested and coming back to our blog. There is a special HTML element to mark named keyboard keys that can be styled with CSS, so why not use these elements to render them as keyboard keys?

Therefore, in this tutorial, I will show you how to create a keyboard button effect with CSS . No images are required to make your blog load faster.

how to add keyboard keys with css in blogger

How to Add Keyboard Shortcuts to Blogger


Step 1 Select your blog in Blogger Dashboard and go to Template > Edit HTML

edit the html of blogger template

The second step . Click anywhere in the code area, press Ctrl + F and find this code snippet:
]]>
screenshot
Click the arrow to expand the icon

Step 3 : Click on ]]> Paste this CSS style:
kilobyte {
border: 1px solid gray;
font size: 1.2em;
shadow box: 1px 0 1px 0 #eee, 0 2px 0 2px #ccc, 0 2px 0 3px #444;
-webkit-border-radius: 3px;
- banana border-radius: 3px;
border-radius: 3px;
margin: 2px 3px;
padding: 1 x 5 pixels;
}
Step 4 . Click the Save Changes button to save the changes.

Finally, we need to add html tags to the text we want to apply the keyboard button style to.
Go to the Create New Post section from the Blogger dashboard, enter the text you want to style and go to the HTML tab. Add the following HTML tags before and after the text:
CTRL+F

screenshot
text with keyboard key effect

It will look like this:

CTRL + F

Post a Comment for "Add Keyboard Keys Effect To Your Text in Blogger with CSS"