20+ Cool CSS Keyboards (Free Code + Demos)
Enjoy this collection of 100% free and open source HTML and CSS keyboard code examples. All projects are easy to add to your own website.
1. Apple Wireless Keyboard Via CSS3
Apple's wireless keyboard built entirely using css3. I could use code for the background, but currently gradients have really ugly banding. Regardless, enjoy! (:
Author: Dustin Cartwright (dustinliamc)
Links: Source Code / Demo
Created on: June 23, 2012
Made with: HTML, CSS
2. CSS Grid Experiment: Keyboard Layout
Author: Raj Suhail (irajsuhail)
Links: Source Code / Demo
Created on: May 20, 2019
Made with: HTML, CSS
3. CSS Mechanical Keyboard
Mechanical Keyboard created with CSS for the January 2019 Codepen Challenge
Author: MikeEsto (Mickel07)
Links: Source Code / Demo
Created on: January 9, 2019
Made with: HTML, CSS, JS
Tags: cpc-peach, codepenchallenge
4. Awesome CSS Keyboard
Author: Mustafa Omar (MustafaOmarIbrahim)
Links: Source Code / Demo
Created on: January 11, 2017
Made with: HTML, CSS
5. CSS-Only Mac Keyboard
A simple Mac Keyboard using Haml and Sass, I dunno if this is the best approach but I never used Haml before and decided to try it out this time. Used the colors for the keyboard from: https://codepen.io/januff/pen/NxNLJJ
Author: Nour Saud (nourabusoud)
Links: Source Code / Demo, Codepen.io
Created on: July 5, 2017
Made with: Haml, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Haml
Tags: keyboard, haml, css, sass, cssonly
6. Apple Keyboard In HTML/CSS
Author: Carl Calderon (carlcalderon)
Links: Source Code / Demo
Created on: January 15, 2013
Made with: HTML, CSS
Tags: keyboard, apple, mac, osx, keys
7. HTML And CSS Keyboard
HTML and CSS Keyboard
Author: Attila Hajzer (attilahajzer)
Links: Source Code / Demo
Created on: December 27, 2013
Made with: HTML, CSS, JS
Tags: html, css, keyboard, flatui
8. CSS Keyboard
Representation of a keyboard made in CSS
Author: Leonardo Adrian Di Salvo (ledisalvo)
Links: Source Code / Demo
Created on: April 11, 2020
Made with: HTML, CSS
Tags: css, keyboard, box-shadow
9. CSS Mac Keyboard
Author: Mark Boots (MarkBoots)
Links: Source Code / Demo
Made with: HTML, CSS
10. Keyboard
Author: Aliyan Aslam (Aliyan-Linux)
Links: Source Code / Demo
Created on: March 23, 2020
Made with: HTML, CSS
Tags: keyboard, grid, sleek, bootstrap
11. White Minimal CSS Keyboard
Author: Atul Kumar Singh (atulkumarsingh)
Links: Source Code / Demo
Made with: HTML, CSS
12. Flat Keyboard
Author: Aref Norouzzadeh (arefn)
Links: Source Code / Demo
Created on: May 13, 2019
Made with: HTML, CSS
Tags: keyboard, flat
13. Logitech K380
This is the keyboard I use. Recreated using CSS.
Author: Benjamin Grant (GRA0007)
Links: Source Code / Demo
Created on: April 11, 2019
Made with: HTML, CSS
Tags: keyboard, css, cool, logitech, button
14. Virtual Keyboard
User Friendly Virtual Keyboard A virtual keyboard with cool themes and custom key functionalities. Keyboard for Windows Developed with HTML, CSS, and JS without any dependencies. To-do list Themes Keyboard for Macintosh Custom music for any key Custom key functions Mobile responsive...Read More
Author: Sai Nikhil (iamsainikhil)
Links: Source Code / Demo
Created on: August 19, 2018
Made with: HTML, CSS, JS
Tags: html, css, javascript, keyboard, css-grid
15. NEU KEYBOARD
Recreating my 60% keyboard in CSS
Author: Manan Tank (MananTank)
Links: Source Code / Demo
Created on: April 4, 2020
Made with: Pug, Stylus, JS
CSS Pre-processor: Stylus
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: keyboard, colors, neumorphism, grid, cssgrid
16. CSS Keyboard
A keyboard made with CSS, a little bit of javascript was thrown in.
Author: Christopher McCullough (chrismcullough)
Links: Source Code / Demo
Created on: August 11, 2014
Made with: HTML, Less, JS
Tags: keyboard, css, js, html
17. HTML + CSS Keyboard
This is a Mac keyboard made in HTML and CSS. There is some JavaScript to control the keys, but that's it.
Author: Bryan Miner (gymbry)
Links: Source Code / Demo
Created on: February 25, 2017
Made with: HTML, CSS, JS
Tags: css, html, keyboard
18. CSS Flexbox Apple Keyboard
If you want the details on what all the properties do, check out http://slides.com/tholex/flexbox Really wanted to push my flexbox knowledge, and thought this keyboard layout would be a good test-bed. The best part of flexbox by far has been the flex-grow stuff, e.g. try changing the spac...Read More
Author: Olex (tholex)
Links: Source Code / Demo
Created on: August 9, 2014
Made with: HTML, Less
Tags: flexbox, typography, apple, box-shadow, inline-block
More Awesome Lists:
Share: