Giter Site home page Giter Site logo

twitchcon-2017-design-contest's Introduction

My Twitch username: m4kshh My Discord username: MaxHH

This contest is intended as a learning experience, and I will respect any requests by Twitch staff to remove this project.

What have I learned?

  • manipulating the DOM using pure JavaScript (without jQuery)
  • other vanilla JS funcionalities (especially events)
  • making better use of tabindex attribute
  • improving css transitions performance (see article in credits)
  • using clip-rect() CSS property
  • using some techniques related to SVG in Illustrator

Why are you describing your project? You wanna win, huh?

Not really, I think the purpose of this contest is to learn something new (maybe someone will learn something from my landing page). Secondly, I'm learning English, so more I use it - more I learn. I know it's bad :D

Techniques used in this project

HTML

  • tabindex for keyboard navigation

CSS

  • transitions, transforms and animations
  • calc() function
  • clip-rect() for SVG animation
  • CSS3 selectors and pseudo selectors (like ~, +, :nth-child(), :invalid, :not())
  • media queries
  • pseudo elements (:before and :after)
  • padding hack
  • vh units
  • normalize.css (from Bootstrap 3.3.7)
  • @font-face

LESS

  • nesting selectors
  • variables (for colors)
  • shade() and tint() functions

JavaScript

  • elements - page loader, mobile menu, form submission, social links hover/focus effect, menu links hover/focus effect
  • events listeners
  • manipulating DOM
  • add/remove/toggle classes
  • forEach, style, setAttribute

Other tools

  • Sublime Text 3 - sophisticated text editor for code, markup and prose
  • CodeKit - helps you build websites faster and better (compiling LESS files, auto-refresh browsers, minifying files, autoprefixer etc.)
  • compressor.io - compress and optimize your images
  • Adobe Photoshop (darkening background image) and Adobe Illustrator (SVG logo)

Graphics

Browser support

  • IE10+ and all major mobile and desktop browsers

Page speed test

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.