Giter VIP home page Giter VIP logo

css-right-way's Introduction

CSS The Right Way

Workshop files and solutions for CSS the Right Way workshop

Download the Repository

Before starting the workshop, download the repository. You will find an html file (css-workshop.html), an images folder containing all the images you'll need along with mock-ups and a spec image of the page we're building. In the css folder you'll find the css file (css-workshop.css), where you'll do most of the work. In the HTML file, feel free to add or remove classes as necessary, but you don't need to alter the markup in any other way.

Front-End Only - No Server Necessary

Since all of this is on the front-end, there is no reason to spin up a server. You should be able to view all your changes locally. file:///Users/[user]/path/to/css-workshop.html (On a Mac) file:///C:/Documents%20and%20Settings/[user]/path/to/css-workshop.html (On Windows) You can also drag the file into your browser.

CSS Trick

There is one complex, difficult css trick in the aside at the bottom. It has to do with the box-shadows on the round images and round background "Learn More" link, and their being responsive. You'll notice that there is an extra nested div. For an explanation and a hint look at https://css-tricks.com/aspect-ratio-boxes/

A Solution

You may have noticed that there is a solution folder. But keep in mind that there are as many right answers as there are people in this workshop,* and even more wrong answers. Try not to look at the potential solution until you're done, or really stuck.

* Some answers are better than others, of course

Have fun!

Validate your answer.

Review each other's work.

css-right-way's People

Contributors

sarijozokosmorninghawk avatar

Watchers

James Cloos avatar  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.