Project Portfolio Page
Created a portfolio Page for a lesson as a frontend developer course. I used Spectre.css as my CSS framework to compile my sass stylesheets to core spectre.css. I have created Index.html and also this file structure
Page Layout
________________________________________________
navbar: mobile-menu
________________________________________________
section: about
________________________________________________
section: hero
________________________________________________
section: featured
________________________________________________
section: styleguide
________________________________________________
section: post
________________________________________________
footer: footer
Folder Structure
├── dist/
│ ├── js/
│ │ └── smoothscroll.min.js --> added a javascript libary for links/anchors smooth scrolling
│ │
│ ├── spectre.css --> spectre generated stylesheet with custommmo css styles used by index.html
│ └── spectre-icons.css
│
├── src/
│ ├── custommmo/
│ │ ├── _about.scss
│ │ ├── _featured.scss
│ │ ├── _hero.scss
│ │ ├── _navbar.scss
│ │ ├── _post.scss
│ │ ├── _box.scss
│ │ ├── _mobile-menu.scss
│ │ └── _styleguide.scss
│ │
│ ├── spectre.scss --> import spectre css modules basic Framework also "_custommmo.scss"
│ └── _custommmo.scss --> import scss files from custommmo folder
│
├── assets/
│ ├── images/
│ │ └── ui/
│ │
│ └── brefing/
│
└── index.html
Download Project
- clone or download this portfolio_mmo
Start Project
- start
/index.html
in your main browser.
Custom CSS
- Custom Css From Markus is in the compiled version of dist/spectre.css file at the end.
- search for
/*! Custom Css From Markus */
/src/_custommmo.scss
handles the custommo modules- the source scss files are in the folder
/src/custommmo
Disabled Modules
- Disabled css module in spectre.css, shown later marked with
mark
Use spectre.css framework
- to use spectre CSS framework follow the next parts, espcially the section Compiling custom version. Read the documentation.
JS
- added smoothscroll
Spectre.css
Spectre.css is a lightweight, responsive and modern CSS framework.
- Lightweight (~10KB gzipped) starting point for your projects
- Flexbox-based, responsive and mobile-friendly layout
- Elegantly designed and developed elements and components
Spectre is a side project based on years of CSS development work on a large web service project. Spectre only includes modern base styles, responsive layout system, CSS components and utilities, and it can be modified for your project with Sass/Scss compiler.
Spectre.css is completely free to use. If you enjoy it, please consider donating via Paypal for the further development. ♥
Getting started with Spectre
There are 5 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM, Yarn and Bower.
Install manually
Download the compiled and minified Spectre CSS files. And include spectre.css
located in /docs/dist
in your website or Web app <head> part.
<link rel="stylesheet" href="spectre.min.css">
Install from CDN
Alternatively, you can use the unpkg or cdnjs CDN to load compiled Spectre.css.
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre.min.css">
Install with NPM
$ npm install spectre.css --save
Install with Yarn
$ yarn add spectre.css
Install with Bower
$ bower install spectre.css --save
Compiling custom version
You can compile your custom version of Spectre.css. Read the documentation.
Documentation and examples
Elements
Layout
Components
AccordionsAvatarsBadgesBreadcrumbsBarsCardsChipsEmpty statesMenuNavModalsPaginationPanelsPopoversStepsTabsTilesToastsTooltips
Utilities
- Utilities - colors, display, divider, loading, position, shapes and text utilities
Experimentals
AutocompleteCalendarsCarousels - CSS onlyComparison Sliders - CSS onlyFilters - CSS onlyMetersOff-canvas - CSS onlyParallax - CSS onlyProgressSlidersTimelines
Browser support
Spectre uses Autoprefixer to make most styles compatible with earlier browsers and Normalize.css for CSS resets. Spectre is designed for modern browsers. For best compatibility, these browsers are recommended:
- Chrome (LAST 4)
- Microsoft Edge (LAST 4)
- Firefox (EXTENDED SUPPORT RELEASE)
- Safari (LAST 4)
- Opera (LAST 4)
- Internet Explorer 10+
Spectre supports Internet Explorer 10+, but some HTML5 and CSS3 features are not perfectly supported by Internet Explorer.
Designed and built with ♥ by Yan Zhu. Feel free to submit a pull request. Help is always appreciated.