GithubHelp home page GithubHelp logo

responsive-portfolio's Introduction

Responsive-Portfolio

UC Berkeley coding assignment 2-2 Using media query to recreate the assignment basic portfolio to make it responsive to different size media screen. required size is 980px 768px and 640px.

Code Example

@media(max-width:768px){ #content960{ clear:both; width:95%; float: left; margin:2%; } #sideBar{ display:none; } }

Key learning points

Be sure to clear both after the navigation section to make the main content start on a new row. display:none (get rid of the element) visibility: hidden(elements are hidden but still take up space) background-img better placed in body to make sure it covers whole web page. be sure to add "" to make page render normal on mobile devices.

Installation

Download the zip file, unzip on the desktop, open index.html

Link to the site

Click me

Author

Kitty Shen

https://github.com/kittyshen

License

Standard MIT License

responsive-portfolio's People

Contributors

kittyshen avatar

Watchers

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