Complete guide on responsive Web design - Since smart new devices such as tablets, smartphones and phablets have advanced and complex operating systems such as Android, iOS, Windows Mobile appeared on the global market, web designers and Web developers have come up with a new type of design for the website because these new gadgets have different screen sizes so that a website can't be 100% compatible with different resolutions.
How to check if your site is responsive
This new design is called Responsive Web Design and contains HTML and CSS code to help improve functionality and especially website design for any type of device.
You can check if your website is a Responsive Web Design using Matt Kersley's tool https://mattkersley.com/responsive/ where you can see your site looks like how to add the following 240, 320, 480, 768 and 1024 widths.
Another very good online feedback test is http://responsivetest.net which allows you to check every resolution not just the default resolution and you also have the ability to rotate or test a particular website like Different versions of smartphones: iPhone, BlackBerry, Samsung, HTC, LG, tablets: Apple, Amazon, Asus, Barnes & Noble, HP, Microsoft, Samsung, Sony, laptops: Apple, Acer, Asus, Dell, HP, Lenovo, Sony, Toshiba and desktops: Apple, Acer, Asus, Dell, HP, Lenovo and Sony.
Write code for different screen resolutions
For each type of mobile widget, you can write at least one line of CSS code to improve your site design, so you start the CSS code for RWD writing the pixel resolution as in the example above:
Portrait Tablet
@media (min-width: 481px) and (max-width: 768px)
Smartphone landscape
@media (min-width: 321px) and (max-width: 480px)
Smartphone portrait
@media (maximum width: 320px)
Now, under each line that says the resolution of the device, you enter the CSS code depending on the object you have on your website. Typically, you need to reposition and shrink objects from your website in such a way that they do not overlap so that people from smaller or larger smartphones can see your content appropriately, but Sometimes you may want to change the color or the whole design of an element for different browsers or devices.
#banner {left-margin: automatic; right margin: automatic; width: 1000px; }
.widget-text {padding: 10px; background color: #FCFCFC; }
The best feedback frames you can use
If you need a quick solution for a responsive website or if you don't have the right knowledge to create responsive CSS code, you can always try one or more free response frames available like:
- Bootstrap Twitter
Twitter Bootstrap, currently version 3.3.6, was first released in 2011, available at http://getbootstrap.com/getting-started/ and created by two Twitter developers named Mark Otto and Jacob Thornton has 75,000 stars on GitHub. Frames were created specifically to have a great view and also to behave properly in the latest smartphones, tablets, laptops and desktop browsers and other navigation programs. over the internet. You can download the source code, the compiled version and extract it and upload it to your FTP root directory.
Bootstrap comes with HTML, CSS and JS for scaffolding, base CSS, various JavaScript components and plugins that create different button groups, drop down buttons, navigation drugs, lists, tabs, labels, badges, titles, thumbnails, alerts, progress bars, modal, glossary, popovers, accordion, carousel and more. Alternatively, you can download the ported version from Little to Sass for easy inclusion in Rails on Ruby and Compass. Bootstrap is available in Chinese, Traditional Chinese, Danish, French, German, Italian, Korean, Brazilian Portuguese, Russian, Spanish, Turkish, Ukrainian and Vietnamese. Firefox, Chrome, Safari, Opera, Dolphin, Chromium, Internet Explorer and other browsers support this framework without any problems. Bootstrap developers announced in December 2015 a new improved version 4, so you should update your framework.
See more: How to create a website with Wix
- Foundation 6
Foundation 6 is available at http://foundation.zurb.com/ and was created by ZURB in 2011, its popularity is proportional to the number of stars on GitHub, more than 22k. The Foundation is flexible, 100% customizable, readable, semantic and constantly updated including HTML templates, resources, code snippets, etc. You can use the Foundation to create websites using HTML, CSS, and JavaScript, to create email using HTML or applications using Angular and Flexbox.
There are many large companies using Foundation such as Adobe, eBay, HP, Cisco, Amazon, EA, Samsung, Ford, Mozilla, Pixar, National Geographic, Disney, The Washington Post, etc. The team offers lots of tutorials, custom training, classes or certifications to help you develop HTML templates, resources, and building blocks. Using Yeti Launch for Mac, you can create Sass projects with just one click to download and install it. Yeti uses Handles, UglifyJS, UnCSS and image compression to speed up the development process and create favorite websites! To use Foundation for email, you need to test it in Outlook and then simply add your style with Inky's Inlan and to create Apps, you need to Install Foundation for Apps CLI, create new projects, and run applications. by starting building it.
- Semantic user interface
The Semantic UI is another feedback framework, newer than Bootstrap and Foundation, created in 2013 by Jack Lukic and has more than 13,000 stars on GitHub. With this framework, you can quickly design beautiful websites because it's friendly, it has brief HTML, visual Javascript, simple debugging, more than 3000 themes, 50 UI components and 5k commits and it Collaborate with most popular libraries like JQuery. To use the Semantic UI, you need to download the zip archive, extract it and upload it to your FTP site or you can directly install it using the NPM package.
Alternatively, you can manually install the following steps: install NodeJS, install Gulp, install Semantic UI and then include in your HTML index file. The different components from this framework can help you create themes, create responsive topics, use grid structures, move from Bootstrap, to create homepage, sticky menus, fixed menus, login forms, various elements such as buttons, containers, splitters, flags, titles, icons, images, input, labels, lists, loaders, breadcrumbs, other forms, messages, tables, ads, tags, comments, feeds, etc. The semantic UI uses modules like Accordion, Checkbox, Dimmer, Dropdown, Embed, Modal, Nag, Pop, Progress, Rating, Search, Shape, Sidebar, Stick, Tab, and Transition.
- Pure
Pure is an uncommon framework created by Yahoo in 2013 but it still has a very nice design and a 10,000-star popularity on GitHub. Its advantages are small size and also very sensitive so the base is 1.1 KB, the grid is 0.8 KB, the forms are 1.5 KB, the nodes are 0.8 KB, tables 0, 5 KB and 0.8 KB menus have a total of only 4.0 KB, but the unresponsive version is even less than 3.8 KB. You can create responsive layouts with different colors like black, purple, orange, blue, green, gray, yellow, red or indigo. You can use Pure by downloading or checking out Yahoo's free CDN and using HTML code like
Do not forget to add the Viewport Meta element and to understand the pure grid. In addition, you can install Pure with Bower or extend it with Grunt, Rework so you can adjust the mobile design for the old browser. Pure uses modules such as Base, Button, Form, Grid, Menu and Table.
- Ulkit
UIkit is the ultimate response frame presented in these 5 fastest response frames. It was created by YOOtheme in 2013 and has only 4k stars on GitHub and it has features like a collection of components, customization, community and it's open source. You can download UIkit along with the CSS files, font files, and JS scripts and then integrate it into your HTML files.
UIkit has autocomplete functions for IDEs like Sublime, PHPstorm or Atom, which help more advanced programmers create a theme, a style, a layout or a project. You can use UIkit to create different layouts using grids, tables, blocks, articles, comments, gadgets, bends, covers; navigate using the navigation, navigation bar, subnav, breadcrumbs, pages, tabs, thumbnails; a lot of elements with lists, descriptions, tables, forms or popular things like buttons, icons, badges, alerts, thumbnails, overlays, columns, text, animations, contrast. With its JavaScript, you can use Dropdown, Modal, Off-canvas, Switcher, Toggle, Scrollspy and Smooth.
See more: Create a free sales website
Conclude
Finally, you definitely need a responsive framework or template for your site if you want more and more visitors to know that in 2015 there were more than 1.8 billion mobile users and behind laptops / pcs, smartphones. I have 80% and tablets with 47% are the most popular devices used to search the internet. You also need to think that new gadgets are created and newer technologies are coming, so you need to update everything.
Post a Comment
Post a Comment