A simple, modular HTML5 template to kick off your responsive websites – written in SCSS and based on the BEM naming convention
- Website: http://zitrusfrisch.de/html-starterkit
- Demo: http://zitrusfrisch.de/html-starterkit/demo
- Facebook: http://facebook.com/htmlstarterkit
- Twitter: @htmlstarterkit
HTML-StarterKit contains everything you need to create responsive websites: Stop caring about doctypes and ubiquitous HTML parts – just start developing.
HTML-StarterKit is based on HTML5, styled using SCSS and is completely responsive out of the box. See the demo page.
HTML-StarterKit is free for both personal and commercial usage under the terms of the MIT license. So fork away! :-)
HTML5 based index file with common meta tags, links to CSS- and javascript files and exemplary content.
Compiled stylesheets built from SCSS files.
Use functions.js for your personal scripts and functions.
The scss folder contains all styles, including Normalize CSS-Reset, basic styles and placeholders for frequently used UI elements as well as media query settings for common viewports. Following a modular approach each section and module has its own scss file. HTML-StarterKit comes with a set of handsome mixins and functions ready to use.
- Added CSS classes for font-sizes and font-families for more styling flexibility
- Minor fixes and enhancements
- Fully revamped grid-system based on flexbox
Node Build script (hat-tip to @niklaskoehler!), solves Issue #4Leak! :-) Comes in future version.- New spacing classes mt--x (margin-top, specify with s, m, l, etc.) and mb--x (margin-bottom)
- Gathered all settings for global styles and components in settings.scss
- Other minor optimisations and bug fixes
- Back to S, M, L system for font-size and line-height variables
- Moved utilities.scss from components to core
- Updated normalize.css to version 8.0.0
- Bugfixes
- Back to S, M, L system for width and spacing variables
- Bugfixes
- Improved grid scss structure and new CSS classes to offset grid-cells individually
- Added
css image-rendering: -webkit-optimize-contrast;
fix to optimise quality of scaled images in Chrome (see https://medium.freecodecamp.org/-898b38a6c0e1 fore more details on this)
- Bugfixes
- Create highly dynamic grids with freshly integrated offset classes for grid cells! Following the same naming pattern as the grid cells' widths, it's super-easy now to offset cells individually. (Sorry, for the bloated grid.scss: There's probably smarter ways to do this, but basic stuff tends to work best anyways. ;-)
- Variables and class names for screenwidths now use display-types instead of s, m, l etc., e.g.
grid__cell--huge-screen-1-6
- Added more (bigger) spacing settings and classes
- Removed
--s
and--l
modifiers for grid and gutter (barely used them) - Removed card component
- New font size function lets you set font-size and line-height individually
- Mediabox component can now be used with (embedded) videos
- Minor fixes and enhancements
- Exchanged color map with a set of color variables
- Cells within a guttered grid now have a bottom margin equal to the gutter
- Minor fixes and enhancements
- New grid system! Control width of cols for each breakpoint with CSS classes
- Added CSS classes add margin-bottom to elements
- Fixed link to normalize in base.scss (Thanks @chriswhawkins)
- Minor fixes and enhancements
- Better file hierarchy: All globals are now stored separately in scss/core
- Inline media queries
- Added various CSS classes for common text styles (light, small, etc.)
- Isolated print styles in one file
- Even smarter color management with color variables and a color map for more detailed coloring.
- New card style component
- Touch-optimized form input fields
- Removed IE-specific Meta-Tags and paths to favicon and apple-touch-icon from HTML head
- Inline SVG Logo (finally!)
- Minor fixes and enhancements
- Now using the BEM methodology, a „highly useful, powerful and simple naming convention to make your front-end code easier to read and understand, easier to work with, easier to scale, more robust and explicit and a lot more strict.“ Read more at getbem.com
- Color variables organized in a Sass map
- Changed grid naming from „flexrow“ to „grid“ and „col“ to „grid__cell“
- Extended grid settings: You can now set various gutter widths by class name
- Removed modules „Expandable“ and „Accordion“ since they are not necessarily needed in your project (You can still grab them on Codepen though: Expandable and Accordion).
- Minor fixes and enhancements
- HTML-StarterKit now includes a basic accordion and expandable content that works with super little js
- New button styles, including three different sizes, ghost buttons and a combo-button
- Simplified file hierarchy by moving all scss partials to ‚components‘
- Optimized a hell lot more for performance sake (removed jQuery for example… :)
- HTML-StarterKit now comes written in SCSS (Very beta! Feel free to comment)
- Rather than limiting the body to a fixed width, now each section has its own inner-wrapper (.) for more flexibility.
- Supported IE version: 9+
- Added the new main-element to global CSS-Reset
- Added a new version of Respond.js (to support the new main-element)
- Aaaaand… Modernizr is off again. Just because there ARE cases you won't need it. One request / blocking element saved.
- If you care about IE8: HTMLShiv is now included inline in the head, wrapped in a conditional comment (previously part of Modernizr). Another request / blocking element saved.
- Added "-moz-osx-font-smoothing: grayscale;" to the CSS to improve font rendering in Firefox on Mac OS X
- Added Box-Sizing Reset in CSS
- Re-added modernizr.js as there is hardly any case you don't need it
- Minor performance tweaks and bug-fixing
- Switched font-size unit to rem (including fallback for IE8) for FlexRows and FlexForm
- Removed modernizr.js and added html5shiv.js instead
- Removed all apple-touch-icons but one
- Fixed link to local jQuery fallback
- Moved font-related declarations from ‘body’ to ‘html’
- Minor CSS changes
- NEW! Responsive tables based on Stephen Hays approach – which is just plain brilliant (http://www.the-haystack.com/2013/09/24/responsive-scrollable-tables/)
- Updated jQuery to version 1.10.2 (latest version that works with older IE versions)
- jQuery now loaded via Google CDN with local fallback
- Splitted up polyfills.js and moved files into separate folder to simplify individual usage.
- Performance tweaks (optimized images, included additional minified styles.css and removed webfonts – yeah, again)
- Minor bugfix
- NEW! English version!
- NEW! FlexRow cols now float using display: inline-block rather than float and have a fixed width gutter (see faux margin with borders for more on this: http://codepen.io/zitrusfrisch/pen/cKDLj). Say “Bye bye” to Clearfix! :)
- NEW! FlexForm, a simple, responsive form template including new HTML5 input types, like URL, search, tel and others.
- Replaced all IDs by classes (e.g. #masthead is now .masthead) to avoid specificity
- Added new Apple-Touch-Icons sizes introduced with iOS7
- Screwed IE7 support: All fixes and hacks for IE7 have been removed from style.css
- Merged base.css into styles.css to save a http-request
- Webkit browsers now hide placeholder when focussing input fields
- Added .htacces-file for gzipping, caching and other stuff to speed up performance (based on https://github.com/cferdinandi/htaccess)
- Removed hgroup and dialog tags from base.css as they were dropped from HTML5 spec
- Switched order of Modernizr and CSS files (Modernizr now loads after CSS as recommended by the Modernizr creators)
- NEW! Introducing FlexRows, a flexible grid to get your content in shape.
- Removed web fonts
- Switched from PHP to HTML
- Deleted from base.css (deprecated)
- Added Mediaquery for Retina / High DPI Displays (https://gist.github.com/3446599)
- Updated jQuery to version 1.9.1
- Updated jQuery to version 1.9.0
- Removed empty placeholder pseudoclass (Triggers weird bug in Firefox)
- Added links for Favicon and Apple-Touch-Icons to the header and DEMO-Icons
- Back to Respond.js (see version v1.04), as the CSS3-Mediaqueries script seems to have issues in combination with Selectivizr plugins.
- Merged all IE polyfills into polyfills.js
- Bug fixed in iOS.js
- Small improvements
- Respond.js durch CSS3-Mediaqueries.js ersetzt
- Optimized fix for iOS Scaling Bug
- Updated jQuery to version 1.8.3
- Small bugfixes
- Small bugfixes
- Initial public release