Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 5450

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 61k
Author
Asked: November 27, 20242024-11-27T09:24:15+00:00 2024-11-27T09:24:15+00:00

Html Tutorial: HTML Responsive web design

  • 61k

Responsive design is about creating website that look good on all device. It will automatically adjust for different screen sizes and viewpoints.

AD-BANNER

Setting the viewpoint

In order to create a responsive website, add the following code to all your web page

HTML Code:

<meta name="viewport" content="width=device-width, initial-scale=1.0">  
Enter fullscreen mode Exit fullscreen mode

This will set up the viewport of your page. Which will give instruction to your browser on how to control the page’s dimensions and scaling.

Responsive images

This are images that scale nicely to fit any browser size. Using the width property If the CSS width property is scaled to 100%, the image will be responsive and scale up and down

HTML Code:

<img src="google.jpg" style="width:100%;">  
Enter fullscreen mode Exit fullscreen mode

Responsive Text Size

The text size can be set with a “vw” unit, which means the viewport width”. That way the text will follow the size of the browser window

HTML Code:

<h1 style="font-size: 10vw"> Hello World</h1>  
Enter fullscreen mode Exit fullscreen mode

Media Queries

In addition to resize text and images, it is also common to use media queries in responsive web pages.

HTML Code:

<style>     .left, .right {         Float:left;         Width: 20%;     }     .main {         Float: left;         Width:60%;     }      /* use a media query to add a breakpoint at 800px */     @media screen and (max-width: 800px){         .left, .main, .right {             Width:100%; /* the width is 100%, when the viewport is 800px or smaller */         }     } </style> 
Enter fullscreen mode Exit fullscreen mode

Create Stunning Websites and Web Apps

Building different custom components in react for your web apps or websites can get very stressful. That's why we decided to build contrast. We have put together a UI kit with over 10000+ components, 5 admin dashboards and 23 additional different pages template for building almost any type of web app or webpage into a single product called Contrast Pro. Try contrast pro!

Contrast Design Boostrap

Contrast React Bootstrap PRO is a Multipurpose pro template, UI kit to build your next landing, admin, SAAS, prelaunch, etc. project with a clean, well documented, well crafted template and UI components. Learn more about Contrast Pro

Resources

  • Contrast Design Bootstrap
  • Accordion
  • Alert
  • Animation
  • Autocomplete
  • Badges
  • Box
  • Breadcrumb
  • ButtonGroup
  • Button
  • ButtonToolbar
  • Card
  • Carousel
  • Checkbox
  • Collapse
  • DataTable
  • DatePicker
  • DropDown
  • Footer
  • Forms
  • Icon
  • Iframe
  • Input
  • InputGroup
  • ListGroup
  • Mask
  • Modal
  • Multiselect
  • Notification
  • Pane
  • Panel
  • Pop Over
  • Progress
  • Radio
  • Rating
  • Select
  • Select 2
  • Slider
  • Spinner
  • Stepper
  • Switch
  • Table
  • Forms
  • Navbar
  • Pagination
  • Tab
  • Sidebar
  • Time Picker
  • Data Table
  • Fixed Data Table
  • Table
  • Widgets

codenewbiehtmlprogrammingwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 2k
  • Popular
  • Answers
  • Author

    ES6 - A beginners guide - Template Literals

    • 0 Answers
  • Author

    Understanding Higher Order Functions in JavaScript.

    • 0 Answers
  • Author

    Build a custom video chat app with Daily and Vue.js

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.