Giter Site home page Giter Site logo

button-styles's Introduction

summary time deliverables
A CSS code exercise looking at using multiple classes to create consistent styles.
1 hour
1 HTML file, 1 CSS file

Button styles

Overview

  • Fork this repository.
  • The index.html and main.css files are started for you.
  • Copy and paste the button sample inside index.html to make all the other buttons.
  • Remember to use multiple classes on the buttons where necessary to reduce as much CSS duplication as possible.
  • Run it through Markbot and make sure it passes all the checks.

Details

  • Text sizes: 1.125rem, .875rem, 1.5rem
  • Colours: #fff, #000, #333, #666, #ccc, #f33, #933
  • Button padding: .4em .75em .3em
  • Button corner radius: 8px
  • Button border width: 3px
  • Expected class names: .btn, .btn-small, .btn-big, .btn-subtle, .btn-ghost, .btn-warning

Goal

Visually match the images in the “screenshots” folder and create the interaction shown in the linked video.


Hand in

Drop this folder into your Markbot application. Make sure to fix all the errors. And submit for grades using Markbot.

button-styles's People

Contributors

thomasjbradley avatar zeecote 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.