Call Us : +1-678-551-2452
+91 77381-86899

Make a div element Responsive using CSS

A simple trick to make a <div> element responsive is to set the max-width of the div in pixels (px) and set width as 100%.

max-width :960px;
width: 100%;

The CSS above will automatically change the div element’s width based on the size of the screen it is being viewed in.

 

Leave a Reply

Pay with PayPal

Icon Web Solutions Service
Other Amount:
Name:

Testimonials

It has been a great pleasure working with Icon Web Solutions on the development of my digitized logo and website. From the initial phases of web design, the Icon Web Solutions team has been a pleasure to work with
Naren, USA

REQUEST A QUOTE

Request A Quote

Please fill the form to request a quote from us

Name (required)

Email (required)

Phone

Services
 Website Design & Development Logo Design SEO SMO Payment Gateway Integration Others

Any Other Detail

Input Text Shown in Image
captcha