GithubHelp home page GithubHelp logo

sports-event-widget's Introduction

This is a standalone widget to display a list of sports events and channels on a page.

This will need to be reused in several locations so this has been considered: rather than use elegant inheritance in the css, namespaced classes are used to make the widget modular, which also makes the css parsing more efficient. (The CSS would be improved by using a preprocessor such as SASS.) The main title area with the search function remains fixed while the rest of the widget can scroll behind it.

Targeted browsers are Chrome (PC), Safari (Mac, iPad), so latest methods for HTML and CSS have been used. I haven't used vendor prefixes although for FF3.6, Safari 4 and iOS3 and below these would be needed.

Bootstrap was recommended, but wasn't used in this instance because I wasn't familiar with it at the time.

I used the LatoLatin font which contains a subset of the full Lato character set; depending on what characters are likely to be needed this could be used instead. FontAwesome is used for the play and search icons, although depending on how many other icons from the font are used it may be more efficient to create these as canvas elements instead. It would be better to add Aria rules to these icons. Depending on what the 'play' icons do, it may be better to create them as button elements.

sports-event-widget's People

Contributors

judegibbons avatar

Watchers

 avatar

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.