Menu Close Menu

0 comments

Whoever would have thought that LED Lighting would take such prominence today in the 21st century. The LED lighting market is filled with a wide variety of options that can light up your home as per your wish and mood. The best part about all this is that now you have the option of controlling the lighting of your home with your fingertips.

The simplicity of now being able to control your lights is an extremely important development and all you need is a smartphone or a tablet to make you the wizard of your own home.  Strip lights like the kind provided by the “Light Rabbit” company have become synonymous with new age lighting. Below we have compiled a list of the 5 apps that can be used to control the lighting in your home via a phone:

Lightwave RF:

Lightwave RF has not only ventured into lighting homes but pretty much into controlling your entire home right from electricity, water, lighting or heating. The company has made quite a name for itself in the American and European markets becoming the number one designer and manufacturer of cutting-edge home devices. The best part is their app which allows patrons to control the lighting of their homes via phones and tablets. Smartphones can act a remote of sorts that will help you will you're endeavours related to sensors, heating, and power. There are different choices of lighting one can select wit mood lighting control, dimmers and pre-set lighting combos. One can also set a timer that can be set that will automatically adjust the lighting levels as per the seasons. The app can also control the LED lighting allowing you to rise with a sunrise simulation in a natural way. If there is a presence of group lighting fixtures, then the app can control the scene lighting by automatically dimming and turning on and off the lights. The lightwave RF app also allows you to set your lights and lamp to switch on automatically to deter any thieves or miscreant elements to your home if you are gone on a vacation.

Philips Hue:

Philips Hue is perhaps the most well-known brand when it comes to smart lighting and rightly so. With a host of features and different kinds of lamps, bulbs and other lights like strip are available at Philips Hue. The company’s wireless system allows patrons to not only switch on and off the lights but also dim and change the brightness of bulbs and even customize colours. You have an option to recreate colours within a specific image like a scenery from the Alps or a sunset painting on your wall. The app also allows one to program specific times with the lights for waking everyone up. It also has a party mode for flashing in time with the music you are playing. The cost of Philips Hue may be on the higher side but their huge range of features to control LED lights definitely makes up for it.

Osram Lightify:

The Lightify app is another alternative for customers on a budget. Their wireless system and app allows a wide variety of lighting options ranging from bayonet bulbs, LED strips, garden spotlights to a standard crew and all of them can be controlled with the Lightify smartphone app. One can expect a remote access feature, functionality scheduling, scene and ambience creation. The only feature not present with the app is that you can’t sync your lights to your film or music but within a reasonable cost, Lightify is one of the best range of bulbs present in the market today.

Ikea TRADFRI:

The Swedish furniture giant has been making headway in the smart lighting market and comes with a multitude of options for customers. They have a huge assortment of plug and play kits that range from colour adjustable options to white dimmable options where users have the option of switching between different light types like bright white and warm white. These can be controlled with the help of their apps which allows multiple functions ranging from controlling the setting of lights to adjusting them as per your choice. The Ikea choice of smart lights are well known for their extensive capacity which can range anywhere between 25,000 hours. Apart from the standard app control, there is also a remote control access provided to customers.

Elgato Avea:

The Elgato Avea may be a recent entrant in the smart lighting market but it is no stranger to making brilliant lighting solutions that are available with different preset colour scenes. Elgato Avea lights can be paired via Bluetooth Smart to your android and iOs device and therefore doesn’t require any additional hub connection like wi-fi router. The app is equally easy to use which automatically remembers your light scene so you don’t have to go through the trouble of connecting them every time. There are also 10 different preloaded colour scenes that adjust the lights to your preference with an option to combine multiple bulbs in the same group.

So there we have the 5 best apps to control your LED lighting at home. So what are you waiting for? Pick your choice today.


Image Source: Techadvisor
Read Article →

0 comments

Periscope offcial logo

A Surprise for 288 million monthly active users on twitter, Twitter had launched Periscope, a live, interactive video app that allows you teleport anywhere with a faucet. Broadcast privately to a few people or in public to the globe. Periscope seamlessly integrates with Twitter, therefore you can share videos with your followers in real time. Presently Periscope video app is on market for Apple and Android Users only. Twitter conjointly added group Direct Messages, that allow you to take any public conversation into private, You'll add up to 20 people to a Direct Message at any time. They’ll get a notification that they’ve been included, due to advanced social communication also they're going to expand cluster user limte shortly once receiving feedback on restricted user limit.

 

The basic feature is for Periscope video app is capture, edit and share, lets take a look at basic app features.

 

Capture Videos using Periscope

Periscope video app that allows you to instantly capture images and record video on your Smartphone—then share them with anyone. Just hold down the record button to capture what’s happening around you. you can shoot one or more videos to show instantly what important happen around you.

 

Edit Captured Videos Using Twitter Video App

Create more videos without having any trouble. Superimpose yourself into your videos,  and keep your audience's attention with a variety of Breaking up important news. Editing your video is as quick and easy as drag-and-drop. Rearrange the good ones by deleting unusual clips from captured video until everything is exactly how you want it. It's also designed with the selfie in mind. The camera will default to the front-facing shooter.

 

easy and quick sharing with just one click away

This is yet another example of a social network making it easier for users to share photos and videos. In what almost feels like an industry-wide push, Facebook, Twitter and Snapchat have all been building messaging services in which photos are a major means of communication.

 

As soon as you’re done recording, your screencast video is ready to share with people around the world, within moments of making them. Download the app to get started.

 

Twitter Changing Terms & Conditions and Privacy Policy

Twitter have made a changes to their Terms of Service and Privacy Policy, So today, Twitter Support team starting to email users to let them know about some updates to these policies. We know that these types of updates are really important to you, and we want to help you by sharing. Twitter revised their Terms of Service and Privacy Policy, effective as of 18 May 2015.

 

Please read the updated policies and FAQs by following link below, Twitter explaining the revisions. By using their twitter services after 18 May 2015, you must be agree to the revised Terms of service and Privacy Policy.

 

 

Starting 18 May 2015, users outside the United States will receive Twitter services from Twitter International Company, based in Dublin Ireland. The features, the look and feel, and everything else you love will not change. Learn more.

 

Share your views about the twitter video app in the comment box below and share the updates with your social friends. Happy Blogging…!!

Read Article →

0 comments

Jquery nuts and bolts

 

Web development using JavaScript frameworks has always proved befitting for developers who need to create rich, interactive and outstanding websites and web applications. One such JavaScript framework that has received appreciations from global web developers is jQuery Mobile. As a brand new framework specially designed for building mobile web apps, jQuery Mobile has been built on top of jQuery and is well equipped with a suite of excellent user interface elements that can be efficiently used in the mobile apps. If you're new to jQuery Mobile, then keep on reading this blog as I'll be making you familiar with all interesting aspects related to this awesome JavaScript framework.

 

A closer look at jQuery Mobile

Serving as an easiest means for building websites and applications, jQuery Mobile is a JavaScript framework that comes loaded with several touch-friendly UI widgets and a simple AJAX powered navigation system that supports animated page transitions. A huge number of developers contribute open source plug-ins for jQuery, and you can find a suitable plug-in for almost any application you might have. The wide range of plug-ins and the simple syntax make jQuery such a great library.

 

What all does jQuery Mobile do?

Quite unlike a variety of JavaScript frameworks available in the market, jQuery Mobile does a lot more for easing the process of developing user interfaces for mobile web apps. Here's a look at some of the best things that are done by jQuery:

 

  • It renders several new custom events that allow you to detect mobile and touch specific activities including tapping, swiping, tapping and holding, rotating the device and many more.
  • With a built-in markup-driven interface configuration, jQuery Mobile makes it convenient for you to create a basic app interface with the help of HTML. Plus, there's no need for you to write even a single piece of JavaScript code.
  • It utilizes progressive enhancement for ascertaining that the app interface works brilliantly on any web-enabled device.
  • It utilizes a series of themes that make it simple for you to customize the overall look of your application.

Unveiling the jQuery Mobile Page Structure

Well, a majority of pages in your jQuery Mobile web apps will include the following basic template:

 

<!DOCTYPE html>

<html>

  <head>

  <title>Page Title</title>

  <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />

  <script src="http://code.jquery.com/jquery-1.4.3.min.js"></script>

  <script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>

</head>

<body>

<div data-role="page">

  <div data-role="header">

    <h1>Page Title</h1>

  </div>

  <div data-role="content">

    <p>Page content goes here.</p>   

  </div>

  <div data-role="footer">

    <h4>Page Footer</h4>

  </div>

</div>

</body>

</html>

 

The three things that you need to include in your page for using jQuery Mobile are:

  • jQuery Mobile CSS file(jquery.mobile-1.0a1.min.css)
  • jQuery library(jquery-1.4.3.min.js)
  • jQuery Mobile library(jquery.mobile-1.0a1.min.js)

One of the best things about the jQuery Mobile Page structure is that you can easily create multiple pages within a single HTML page, resulting into a smoother user experience.

 

Ajax navigation adds to the excellence of jQuery Mobile

Ajax works as the right tool for making mobile user experience as smooth as possible. In-line with this fact, jQuery Mobile uses Ajax for allowing the linked pages to get loaded by default. In simple words, instead of the browser following a specific link for opening a new page, jQuery Mobile simply intercepts the link, requests the focused page via Ajax, followed by incorporating the new page content into the focused page's DOM. And that's not all, Ajax also allows jQuery Mobile developers to use URL hashes for ensuring that each page receives its individual and 100% unique bookmark able URL.

 

jQuery Mobile reflects a greater potential for mobile web app development

It is quite interesting to note that within 36 hours of the release of jQuery Mobile's beta version, an app was being built using the technology. John Resign, the creator of jQuery has displayed his confidence in jQuery Mobile and is keenly looking forward to making the JavaScript framework available for more and more mobile web app developers across the world. If you're an avid supporter of open web, then jQuery Mobile will serve as your best-fit launch. Backed by a rock-solid foundation for creation of impressive mobile apps, jQuery Mobile has opened doors to innovation in mobile web app design and development. With such a remarkable tool at their disposal, developers can deliver apps that look great and operate exceptionally.

 

Wrapping Up

The flexibility and easily theme able design of jQuery Mobile has made the framework stand out from the crowd of mobile web app development frameworks. So, get going and opt for utilizing the features of jQuery Mobile for delivering high-quality apps that run on varied platforms.

 

About Emily Heming

Emily Heming is an iPhone app developer and blogger and Currently working at Xicom Technologies. A Mobile apps development services provider which offers the reliable iPhone development services.

Read Article →

0 comments

Blogger Symbian Client Now publish your blogger posts by using a Smartphone (like symbian), you can publish content while you're so far from you pc - as possible as you have a strong signal. Whether you want to produce visual or written content, a Smartphone (Nokia Symbian) can do it, provided that you have the right software. The majority of blogs which are self-hosted will be ever so slightly different, but mostly because it's pretty complicated to format, edit, proof read and publish digital thoughts from a small mobile screen. Many have attempted it and the latest contender, the blob blogger and word press client is better than most.

 

Blob Client New Features


1. Now Supports word Press Too!
2. Read, Edit, Create posts, delete posts and also comments in different blogs
3. HTML5 enabled Post viewer
4. Add Labels, set custom publishing date and time in posts
5. Comes with one of the best convenient rich text editor ever made
6. A special clipboard manager feature for hardcore blogger
7. Offline reading and offline drafts option
8. Optimized for speed and low data usage
9. Pull to refresh

 

Free Version
http://store.ovi.com/content/266343

Paid Version
http://store.ovi.com/content/266320/

 

Image Credit:- Symbian Developer

Read Article →

3 comments
Pinch to zoom Tablet
A few days ago I was just searching for some new things on web and I just came across a webpage that was providing an article on pinch to zoom bug in the blogger template. When I checked this bug in our template unfortunately I found it there. The bug is simply that the viewport meta tag in the template is set to not allow user Scalling. The mistake is in viewport meta tag is set to "user-scalling=no". We just need to change this value to yes : "user-scalable=yes" so mobile users may zoom.  That's why we prepare a tutorial for our valuable readers.

Also read our previous article.

what is viewport meta tag.

In the early years, when the smart phones came, they knew the Internet wasn’t prepared for them so they expected every website to be around 1000px width (980px on the iPhone) and zoom out the website to fit into the screen. And so the <meta name="viewport"> was created, basically to tell those smart dudes that your website was prepared for them and is the visible area of the webpage as shown in Figure 3-3 and also preparing a webpage for mobile devices optimization.

<meta name="viewport" content="width=device-width, initial-scale=1">

In the above line of code we’ll be telling to the browser “my website adapts to your width”. Without viewport your device uses a virtual viewport which by default is effectively a zoomed out version of your website, this is around 980px on iPhone and 800px on andriod. As soon as you set the viewport and disable this zooming out, the device treats the website as it should and measures out at around 480px wide or 320px depending on device and orientation.


Property Description
width The width of the virtual viewport of the device. Enter a number (pixels assumed), or the keyword "device-width" to set the viewport to the physical width of the device's screen.
height The height of the virtual viewport of the device. Enter a number (pixels assumed), or the keyword "device-height" to set the viewport to the physical height of the device's screen.
initial-scale The initial zoom of the webpage, where a value of 1.0 means no zoom.
minimum-scale The minimum level the user is able to zoom out of a webpage, where a value of 1.0 means the user isn't able to at all.
maximum-scale The maximum level the user is able to zoom in on a webpage, where a value of 1.0 means the user isn't able to at all.
user-scalable Sets whether the user can zoom in and out of a webpage. Set to yes or no.


How to add viewport meta tag in your blogger template


1. Go to Blogger Dashboad>> Form Dropdown Select Template>> Edit HTML and find the following code.
<head>

2. Now Copy And Paste The follwing Code  After/Below <head> tag.
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes'/>

Important:- For Pinch to Zoom
You need to set user scalable yes for Mobile users could zoom :
user-scalable=yes'

With this setting we had no problem using pinch to zoom on the iPad OS and Android tablets. If these default settings don’t work for your webpages, it is highly recommended that you change the settings by configuring the viewport.
Mostly user on the Internet using mobile devices I would recommend you check your blog has pinch to zoom enabled or not. Please feel comfortable to ask us anything where you may need help.
Read Article →

1 comments

iPad Mini Cases
iPad mini can be considered as the best kind of tablet that is available in the market and anybody can feel like adoring such an incredible stuff. The first thing that you need to do when you are having iPad Mini is to get a proper case for it so that it can be protected. Make sure that the case that you are getting for the tablet is really amazing so that you can look really incredible in it. This newest iPad mini is offering many improvements compared to the previous versions. This is the one that comes with a screen of high resolution and is also available with good amount of thickness. There are many iPad mini cases available that can really make your gadget look awesome.

iGear iPad – Flip Turn

This is a kind of case that is both functional and flexible and is also the one that is available with a shell of hard polycarbonate. It comes with qwerty keypad that can be hooked with your gadget through Bluetooth. This can really make your iPad look exactly like a laptop. The gadget is protected from every angles and there are cut outs available for buttons and ports. This is a case that can be available in most of the online stores that sell apple accessories.

Pelican Progear – Vault Series

This is one among the cool iPad cases that can make you forget the various things that include water, drops, shocks, dust etc. You can be really out of worries about your iPad when you are getting this kind of case. This case is made out of aluminium and is equipped with dragon tail glass for protecting the camera lens. The design is the major thing that makes this case stand out of the others available in the market.

Bukcase – Leather Sleeve

This is a stylish kind of sleeve that is made out of premium Italian – leather. This is the case that has a got a perfect design and really looks awesome with diagonal cut and also the pocket that is available in the cross manner over the back of it. The folding available in the case is in such a manner that it decreases the cuts that are caused to leather and you can choose white or green stitching for your case. This is a case that protects your iPad well when you are putting it inside a bag.

Zerochroma Folio – Slide Case

This is a case with smarter design that is capable of combining the solid case along with so many cu touts along with folio cover that is removable in nature. The lid of the case is helpful in supporting the functions related with sleeping and waking and also can protect the screen in the best possible manner.

SwitchEasy – CoverBuddy

This is really an incredible collection of iPad mini cases that are available in eight colors that matches with the smart cover that is available from apple. This is shell of had plastic that can make your iPad protected and really safe.
Read Article →

3 comments
Reponsive Moniter, Tablet and Smart PhoneIn the last article we’ve seen the basic rules to create a simple layout for a website. After concentrating on the pc-desktop version, in this fourth part of the series, we’ll see which are the rules to apply to make the layout responsive.
So, the final result will become pleasant for both tablets and smartphones, as we’ll see in the final part. Screen resolution nowadays ranges from 320px (iPhone) to 2560px (large monitor) or even higher. Users no longer just browse the web with desktop computers. Users now use mobile phones, small notebooks, tablet devices such as iPad or Playbook to access the web. So the traditional fixed width design doesn't work any more. Web design needs to be adaptive. This tutorial will show you how to create a cross-browser responsive design with CSS3 media queries.

Another aspect of this technique where its simplicity really shines, is in how well its flat aesthetics translate so strongly on smaller screens (handhelds and mobile devices) without losing any of the impact they deliver. This is one way that it becomes so flexible.

As I introduced in the third article of the series, for the sake of clarity, we’ll use two style sheets for our website to keep different concepts separated; in relation with this topic, it’s good to remember that in production, you should use one of the available tools to minimize and merge the various CSS style sheets into a unique file to improve performances.

Now, let’s dive into the code and examine which are the most important changes that we have to apply to get our result.
First of all, we’ve to set the chosen breakpoints in our document. To do this, you have to put this line at the top of responsive.CSS: You can also see live demo our final project by click on live preview link below.


@media screen and (min-width: 800px) and (max-width: 1440px)

Now we are going to apply few rules to specify for this version.

@media screen and (min-width: 800px) and (max-width: 1440px) {
    #content-wrapper {
        border: none;
        margin: 0% auto;
        margin-top: 2%;
        padding: 1%;
        width: 80%;
        min-width: 700px;
        max-width: 1439px;
    }
    .box {
        background: #ffffff;
        padding: 2%;
        margin: 2% 0% 2% 2%;
        width: 43%;
        display: inline-block;
        vertical-align: top;
        border: 1px solid transparent;
    }
    .image-box {
        float: left;
        max-width: 40%;
        float: left;
        padding: 0px 2% 1% 0%;
    }
}

The rules to which you should pay more attention for this version are those applied to the header section. For the former, thanks to the rule max-width: 100%;the header will render at its native dimensions as long as its width doesn’t exceed the width of its container. Resizing your browser window, the header proportions will remain intact, even as the page scales down accordingly.

let’s have a look at the CSS media queries applied on all those devices whose min width 320 pixels. The first thing you’ll notice is that fonts and images have changed. For smaller screens, the first rule to remember is that everything has to be: clear, fast and understandable.

@media screen and (min-width: 320px) and (max-width: 799px) {
    #header {
        width: 100%;
        margin: 0%;
        text-align: center;
        padding: 2%;
        background: rgba(0,0,0,0.1);
        height: 50px;
    }
    #content-wrapper {
        border: none;
        margin: 1%;
        padding: 1%;
        min-width: 200px;
        width: 100%;
    }
    .box {
        background: #ffffff;
        width: 92%;
        padding: 2%;
        display: inline-block;
        vertical-align: top;
        border: 1px solid transparent;
        margin: 0 0 15px 0px;
    }
    .image-box {
        float: left;
        padding: 0% 2% 2% 0%;
        max-width: 100px;
    }
    h1 {
        text-align: center;
        font-size: 25px;
        letter-spacing: 0;
    }
}

This series about how to build a responsive, mobile-friendly website has ended. I hope you’ve enjoyed it!


If there is any advice that I can give to you, is to continue to “practice with this stuff”, not only in the practical realization of the website, but also in the design phase design phase which has a fundamental importance because it’s extremely important that everything is planned in detail; only in this case you’ll avoid waste of time and exhausting corrections, and you’ll perfectly understand how to organize your content and improve your final result. Thanks for reading our responsive series stay tuned for more useful stuff.
Read Article →

1 comments
Reponsive Moniter, Tablet and Smart PhoneIn the Previous tutorial of this series, I’ve shown how to start building a website with the HTML code and its main elements. Now it’s time to introduce the first CSS rules in order to have a general idea of the graphic style that the homepage of our website will display, especially for the pc-desktop version. First of all, before having a look on the rules we have to apply in order to create a particular design for our homepage, let’s see how it will appear in our browser window (my default browser is Chrome but, with the application of some specific rules, you’ll be able to obtain the same result for all modern web-browsers). The homepage of our totally customizable website should look more or less as following:

final_project_preview

For the content section, let’s create a main div whose ID is “content-wrapper”, a wrapper div, and put an product or article within it. We just put lorem ipsum text in the article as text.  We just add a content wrapper element look like this:

<div id="content-wrapper">
put your website content here
</div>

and our final html structure code look like this:

<!DOCTYPE HTML>
<html lang=”en”>
<head>
<meta charset=utf-8" />
<meta name="viewport" content="width=device-width">
<title>Fluid Responsive Template</title>
</head>
<body>
<header>
<div id="header">
<h1>Responsive Template</h1>
</div>
</header>
<div id="content-wrapper">
<h2>Suspendisse commodo purus aliquam mi</h2>
        <p>Donec sed urna l ectus, vel viverra tellus. Nullam molestie tortor eu erat aliquet fermentum. Suspendisse commodo purus aliquam mi tempor pulvinar.  Pellentesque bibendum suscipit dui, id vehicula leo aliquet at. Duis sem diam, pharetra sed posuere sed, iaculis vitae leo.</p>
        
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet.</div> 
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet.</div>
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet. </div>
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet.</div>
<br style="clear:both" />
</div>

</body>
</html>

We’ll proceed step-by-step from the upper part of our layout to the bottom. The code for the very first part (which includes the elements of header). The first one is the banner element, with this code for styling:

#header {
margin:0%;
text-align: left;
padding:2%;
background: rgba(0,0,0,0.1);
height:50px;
   
}
#header h1 {
font-size: 40px;
font-variant:small-caps;
font-weight: bold;
color: #fff;
line-height: 50px;
margin:0% 0% 0% 0%;
padding:0%;
}

These first rules simple enough to understand. To space the header from the top of the browser window we’re applying a margin of 0% and to let our header cover all the width of our browser’s window, we’ve set the corresponding rule with a percentage of 100.

Now let’s create CSS for the content-wrapper section:

#content-wrapper {
margin:1%;
padding:2%;
background: rgba(0,0,0,0.1);
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-ms-border-radius: 5px;
box-shadow: 0 10px 7px -7px rgba(0,0,0,0.12), 0 0 4px rgba(0,0,0,0.1);
}
.box {
  background: #ffffff;
  padding: 2%;
  margin: 2% 0% 0% 2%;
  width: 18%;
  display: inline-block;
  vertical-align: top;
  border: 1px solid transparent;
  box-shadow: 0 10px 7px -7px rgba(0,0,0,0.12), 0 0 4px rgba(0,0,0,0.1);
}
.image-box {
  max-width: 40%;
  float: left;
  padding: 0px 2% 1% 0%;
}

I won’t explain the rules one by one as for the first part, especially because they are almost all the same. The only thing to which I’d like you’d attention is the box shadow property.
This property allows designers to easily implement multiple drop shadows (outer or inner) on box elements, specifying values for color, size, blur and offset.

Let’s move on to the general part, that is on the rules applied to elements such as heading, paragraphs, images, boxes appearance and so on. Here is the code with the specifications of the rules for the layout.

body {
color: #111;
background: #71BBC8;
font-family:Verdana, Geneva, sans-serif;
font-size:100%;
padding: 0em;
margin: 0em;
  }

a {
color: rgba(0,0,0,0.4);
text-decoration: none;
outline: none;
}
a:hover {
cursor:pointer;
}
a:focus {
outline:none;
}
img,object,embed {
max-width:100%;
height:auto;
}
 
object,embed {
height:100%
}
 
img{
-ms-interpolation-mode:bicubic;
}
p {
   margin-top: 0;
   margin-bottom: 0.5em;
}
h1, h2, h3 {
   text-align: left;
}

Let’s start the adding footer section in your template.

    <footer id="footer">Copyright &copy; 2013 | My Responsive Web Template</footer>

Now our HTML code look like this:

<!DOCTYPE HTML>
<html lang=”en”>
<head>
<meta charset=utf-8" />
<meta name="viewport" content="width=device-width">
<title>Fluid Responsive Template</title>
</head>
<body>
<header>
<div id="header">
<h1>Responsive Template</h1>
</div>
</header>
<div id="content-wrapper">
<div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet.</div> 
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet.</div>
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet. </div>
        <div class="box"><h2>Pellentesque bibendum</h2><img class="image-box" src="https://www.google.com.pk/images/srpr/logo11w.png" />Curabitur pulvinar odio ut magna aliquet consequat. Etiam id euismod justo. Praesent vel lectus ipsum, ac placerat urna. Quisque a leo nibh.  Curabitur bibendum accumsan orci eget euismod. Pellentesque mattis gravida imperdiet.</div>
</div>
<br style="clear:both" />
</div>
<footer id="footer">Copyright &copy; 2013 |Responsive Template</footer>
</body>
</html>

and CSS Code should look like this:

body {
color: #111;
background: #71BBC8;
font-family:Verdana, Geneva, sans-serif;
font-size:100%;
padding: 0%;
margin: 0%;
 
}
a {
color: rgba(0,0,0,0.4);
text-decoration: none;
outline: none;
}
a:hover {
cursor:pointer;
 
}
a:focus {
outline:none;
 
}
p {
   margin-top: 0;
   margin-bottom: 1%;
}
img,object,embed {
max-width:100%;
height:auto;
 
}
 
object,embed {
height:100%
 
}
 
img{
-ms-interpolation-mode:bicubic;
 
}
 
#header {
margin:0% auto;
text-align: left;
padding:2%;
background: rgba(0,0,0,0.1);
height:50px;
   
}
#header h1 {
font-size: 40px;
font-variant:small-caps;
font-weight: bold;
color: #fff;
line-height: 50px;
margin:0% auto;
padding:0%;
 
}
 
#content-wrapper {
margin:2%; padding:2%;
background: rgba(0,0,0,0.1);
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-ms-border-radius: 5px;
box-shadow: 0 10px 7px -7px rgba(0,0,0,0.12), 0 0 4px rgba(0,0,0,0.1);
 
}
 
#footer{
clear: both;
margin:1%;
padding:1%;
background-color:none;
color: rgba(0,0,0,0.4);
text-align: center;
height:20px;
line-height: 20px;
 
}
.box {
  background: #ffffff;
  padding: 2%;
  margin: 2% 0% 0% 2%;
  width: 18%;
  display: inline-block;
  vertical-align: top;
  border: 1px solid transparent;
  box-shadow: 0 10px 7px -7px rgba(0,0,0,0.12), 0 0 4px rgba(0,0,0,0.1);
}
.image-box {
  max-width: 40%;
  float: left;
  padding: 0px 2% 1% 0%;
}

This is it! now template is ready with general styling, above full code and working example – all in the demo:



I’m not much of a designer but I will do my best to make this look amazing.
In this article we’ve seen the basic rules to create a simple layout for a website. After concentrating on the pc-desktop version, in the next article we’ll see which are the rules to apply to make this layout responsive.
Read Article →

3 comments
Reponsive Moniter, Tablet and Smart PhoneIn the first article of this brand new series, I have introduced the main objectives of the series and given a short but complete introduction on the critical components of media queries and responsive breakpoints. Now, it’s time to begin doing some practical work. As I have mentioned before, I’ll start with the planning and creation of a mockup for each of the three main device types on which our responsive website will be designed, tested, and displayed: PC desktops, tablets, and mobile phones. Returning to our files, the first, called Style.css, is the one which contains all the common CSS rules. The second one called responsive.css contains the specifications of the rules to apply to the chosen devices.

HTML can be edited by using a professional HTML editor like:
  • Adobe Dreamweaver
  • Microsoft Expression Web
  • Coffee Cup HTML Editor

First Step: HTML code

The first step in creating a Responsive template is to add the code for the header, body, and footer.Let’s begin building the structure of our website through the use of HTML code. To avoid confusion and miss some steps, we’ll proceed by dividing the layout into three parts. Now, what we have to do as our first task is declare the type document that for HTML5 is indicated in the following way:

<!DOCTYPE html>

The next item we have to pay attention to is the viewport property. Setting a viewport tells the browser how content should fit on the device’s screen and informs the browser that the site is optimized for mobile. For example…

<meta name="viewport" content="width=device-width">

Tells the browser to set the viewport to the width of the device with an initial scale of 1. After this, we insert into the title tag the name we’ve chosen for our website. Finally, we have to link our HTML page to the CSS stylesheets that we’ll use to define the style of our homepage; the HTML “link” element specifies relationships between the current document and other documents. With this line of code…

<link rel="stylesheet" href="css/style.css" type="text/css" />

We link the document to the common stylesheet (that is, the document which contains all the common CSS rules that will be shared by the three versions of the project), while this one…

<link rel="stylesheet" href="css/responsive.css" type="text/css" />

Recalls to the file where there are the specifications of the particular rules that will be applied only to that particular device indicated. Please note that since we’re using HTML5, you don’t actually need to specify type="text/css".

Now Close the head tag and come on to the body section.  Your final code look like this:
<!DOCTYPE HTML>
<html>
<head>
<meta charset=utf-8" />
<meta name="viewport" content="width=device-width">
<title>Fluid Responsive Template</title>
</head>
<body>
<header>
<div id="header">
<h1>Responsive Template</h1>
</div>
</header>
</body>
</htm>

You will now have a page with no styles just HTML Webpage Structure. Now we need to create the CSS files and content for the Template. The Next tutorial will explain how to add the styles to the stylesheets and contents  for your Responsive Template.
Read Article →

2 comments

Responsive_Flat_Navigation_menu

Mostly we discuss regarding responsive web design in our blogger related tutorials. Do you wish to make your own responsive menu for your website, but don't know how ? during this tutorial we'll show you 4 awesome responsive menus that will be very useful to build your own website navigation.  For straightforward navigation, the solutions is straight-forward, However, if you’re performing on something a bit more complex, perhaps with multiple lists and dropdowns, a additional dramatic arranging is also so as. during this approach to responsive navigation, we’re reaching to use associate approach that may accommodate large, multi-level navigation menus using media queries, while making an attempt to stay with our easy markup and our external resources minimal, In this article you will see how you can build an amazing CSS3 animated responsive dropdown menu.

 

Live Preview       Download Source

 

 

Creating Responsive Nested Navigation Menu

Firstly, simple markup of multi-leveled unordered lists with a little bit of HTML5 flavor. My example consists of three levels. Three is not the limit, you may have infinite levels on your next super project.

 

Step 1. Creating HTML Structure

<div class="nav-container">
              <div>
              <label class="responsive_menu" for="responsive_menu">
              <span>Menu</span>
              </label>
              <input id="responsive_menu" type="checkbox">
              <ul class="menu">
              <li><a href="#">Home</a></li>
              <li class="dropdown"><a href="#">Categoriesˇ</a>
                <ul>
                  <li><a href="#">SEO</a></li>
                  <li><a href="#">Webmaster Tools</a></li>
                  <li><a href="#">Google News</a></li>
                  <li class="dropdown"><a href="#">Web Design ›</a>    
                    <ul>
                      <li><a href="#">Social Plugin</a></li>
                      <li><a href="#">Plugins</a></li>
                      <li class="dropdown"><a href="#">Templates ›</a>
                        <ul>
                          <li><a href="#">Blogger</a></li>
                          <li><a href="#">WordPress</a></li>
                          <li><a href="#">Jomla</a></li>
                          <li><a href="#">Website Template</a></li>
                        </ul>
                      </li>
                    </ul>
                  </li>
                 
                </ul>
              </li>
              <li class="dropdown">
              <a href="#">Tutorialsˇ</a>
              <div class="columndrop">
                <div class="col">
                  <h3>± SEO</h3>
                  <ul>
                    <li><a href="#">Basic</a></li>
                    <li><a href="#">Off Page</a></li>
                    <li><a href="#">On Page</a></li>
                    <li><a href="#">Blogger SEO</a></li>
                  </ul>
                </div>
                <div class="col">
                  <h3>± Navigation</h3>
                  <ul>
                    <li><a href="#">Website Menu</a></li>
                    <li><a href="#">Blogger Menu</a></li>
                    <li><a href="#">Wordpress Menu</a></li>
                    <li><a href="#">All in One</a></li>
                  </ul>
                </div>
                <div class="col">
                  <h3>± Plugins</h3>
                  <ul>
                    <li><a href="#">Social</a></li>
                    <li><a href="#">Blogger</a></li>
                    <li><a href="#">Wordpress</a></li>
                    <li><a href="#">Website</a></li>
                  </ul>
                </div>
              </div>
              </li>
              <li class="dropdown"><a href="#">Resourcesˇ</a>
              <div class="megadrop">
                <div class="col">
                  <h3>Graphic</h3>
                  <ul>
                    <li><a href="#">Illustrator</a></li>
                    <li><a href="#">CorelDraw Styles</a></li>
                    <li><a href="#">Adobe Plugin</a></li>
                   
                  </ul>
                </div>
                <div class="col">
                  <h3>Vector Graphic</h3>
                  <ul>
                    <li><a href="#">Vectors</a></li>
                    <li><a href="#">Icons</a></li>
                    <li><a href="#">UI Kit</a></li>
                   
                  </ul>
                </div>
                <div class="col">
                  <h3>Template</h3>
                  <ul>
                    <li><a href="#">HTML Templates</a></li>
                    <li><a href="#">Wordpress Themes</a></li>
                    <li><a href="#">Blogger Templates</a></li>
                   
                  </ul>
                </div>
                <div class="col">
                  <h3>Social Media</h3>
                  <ul>
                    <li><a href="#">Social Plugin</a></li>
                    <li><a href="#">Social Icons</a></li>
                    <li><a href="#">Social Vector Icons</a></li>
                   
                  </ul>
                </div>
               </div>
              </li>
              <li><a href="#">Faqs</a></li>
              <li><a href="#">About Us</a></li>
              <li><a href="#">Contact Us</a></li>
              </li>
          </ul>
        </div>
      </div>

 

Now let's just give a sense to the HTML above with the CSS below.

 

Step 2. Let’s add some very basic styling to get our list looking like a navigation bar:

 

.menu-container {
    width:100%;
    margin: 0 auto;
    padding: 20px 0;
}

.menu {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    position: relative;
    padding: 0 0 0 4px;
    margin: 0;
    background-color: #005b68;
}

/* Reset Links */
.menu a, .menu a:link, .menu a:visited, .menu a:focus, span {
    color: #fff;
    text-decoration: none;
}

.menu a:hover {
color: #c4c4c4;
text-decoration: none;
}

/* Main element */
.menu > li {
    display: inline-block;
    text-align: center;
    margin-left: -4px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: -1px 0 0 rgba(255, 255, 255, 0.2);
   
    }

/* Link Style */
.menu > li > a {
    padding:20px 18px;
    display: block;
}

.menu > li:hover > a{
    color: #005b68;
}

.menu > li:hover {
    background-color: #fff;
}
.menu > li:first-child {
border-left: none;
box-shadow: none;
}

 

Step 3. Next, let’s get the horizontal dropdown menus happening. While this could be done with pure CSS using the:hover .

 

/* Simple multilevel dropdown */
.menu > li > ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    list-style: none;
    top:55px;
    background-color: #005b68;
    width: 200px;
    text-align: left;
    margin-top:30px;
    padding: 0px;
    z-index: 99;
}

/* First level appear */
.menu > li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
}

/* Style for dropdown links */
.menu li > ul li {
    font-size: 13px;
    position: relative;
    display: block;
    padding: 15px 10px;
   
}

.menu > li > ul  li:hover {
    background-color: #fff;

}

.menu ul  li:hover > a {
    color: #005b68;
}

/* Second and third dropdown level */
.menu > li > ul li ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    list-style: none;
    top:0px;
    left: 200px;
    background-color: #005b68;
    width: 200px;
    text-align: left;
    padding: 0px;
    margin-left: 30px;
}

.menu > li > ul li ul li:hover {
    background-color: #fff;
}
input#responsive_menu { display: none; }

.menu > li > ul li ul li ul {
    background-color: #005b68;
}

.menu > li > ul li ul li ul li:hover {
    background-color: #fff;
}

/* Second and third level appears */
.menu > li ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin-left: 0px;
}

 

We’ve just floated our list items into a horizontal line, set some colors up and hidden the submenus off the screen using absolute positioning….!!!

 

Step 4. Here is we are going to stylize our column dropdown and mega dropdown list.

 

/* columndrop dropdown */
.menu .columndrop {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    list-style: none;
    top:55px;
    background-color: #005b68;
    min-height: 100px;
    text-align: left;
    margin-top:30px;
    padding: 0;
    padding: 0 10px;
    z-index: 99;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.menu > li:hover .columndrop {
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
    color: #fff;
}

.menu .columndrop .col {width: 130px;margin:0 9px;}


/*.coldrop full width dropdown */
.menu .col {
    width: 14.1%;
    float: left;
    color:white;
    margin: 0 0 0 2.2%;
}

.menu .col ul {
    padding: 0;
    margin: 0;
}

.menu .col ul li {
    padding: 0;
    list-style: none;
    font-size: 11px;
}

.menu .col h3 {
    font-size: 16px;
    padding: 14px 0;
    font-weight: 400;
    margin: 5px 0 5px 0;
}

.menu .col ul li a {
    display: block;
    padding: 0 0 15px 0;
}
.menu .col ul li a:hover {
    color: #111;
    text-decoration: underline;
}

/*Animation Effect for Dropdown  */
.menu > li > ul li ul, .menu li >ul li, .menu > li > .megadrop, .menu > li > .columndrop, .menu > li > ul, .menu > li {
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out; /* Firefox 4 */
    -webkit-transition: all 0.2s ease-in-out; /* Safari and Chrome */
      -ms-transition: all 0.2s ease-in-out; /* IE 11 */
    -o-transition: all 0.2s ease-in-outs; /* Opera */
}

 

Step 5. Our lovely horizontal dropdown menu unfortunately looks quite tiny on mobile screens, so let’s make sure mobile browsers will be fully zoomed-in when they load our page by adding the viewport meta tag.

 

<meta name="viewport" content="width=device-width, initial-scale=1">

 

Of course, now our dropdown menu looks even worse on mobile devices, and most of it doesn’t even fit on the screen! Let’s add in some media queries to style our list into a vertical list below our breakpoint. Our breakpoint is determined by the point at which our menu breaks onto two lines.

 

Step 6. At our breakpoint, we’ll remove the floats and set the list items and unordered lists to width: 100%. Right now, when we hover over our parent items, their child lists are displayed over top of the items beneath it.

 

/* Responsive container Setting */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .menu-container {
        width:768px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .menu-container {
        width: 420px;
    }
}

@media only screen and (max-width: 479px) {
    .menu-container {
        width: 300px;
    }
}

label.responsive_menu span {
    margin-left: 10px;
    color: white;
    display: none;
}

@media only screen and (max-width: 959px) {

/* New direction for third dropdown level */
.menu > li > ul li ul li ul {
    left: -200px;
    z-index: 3;
}

.menu > li > a{
    padding: 20px 12px;
    font-size: 12px;
}

.menu .columndrop .col {width: 120px;margin:0 5px;}

}

@media only screen and (max-width: 767px) {

    .menu {
      display: none;
    }

    label.responsive_menu span {
        display: inline;
        font-size: 20px;
        font-variant: small-caps;
        font-weight:400;
    }

    label.responsive_menu {
      position: relative;
      display: block;
      width: 100%;
      background-color: #005b68;
      padding: 15px 0;
     
    }

    .menu {
        padding: 0;
    }

    .menu li {
        width: 100%;
        display:block;
        text-align: left;
        margin-left: 0;
    }

    .menu > li {
        border-right: none;
        padding: 18px 0px;
        position: relative;
    }

    .menu > li > a {
        display: inline;
    }

    .menu li ul, .menu li .megadrop, .menu li .columndrop {
        top:45px;
    }

    .menu li ul {
        padding: 0;
    }

    .menu .megadrop, .menu .columndrop {
        width: 100%;
        padding: 0 2.5%;
    }

    .menu li > ul li {
        padding: 18px 0px;
    }

    .menu .col, .menu .columndrop .col {
        width: 94%;
        padding: 0 3%;
    }

    .menu > li > ul {
        width: 100%;
    }

    .menu > li > ul li ul {
        width: 100%;
        top:43px;
        left: 0;
        margin-top: 30px;
        z-index: 2;
    }

    .menu > li > ul > li:hover ul {
        margin-top: 0;
    }
   
        #responsive_menu:checked+.menu {
        display: block;
    }

    label:after {
        position: absolute;
        top:9px;
        right: 10px;
        content: "\2263";
        font-size: 35px;
        color: #FFF;
    }


    .menu > li > ul li ul li ul {
        width: 100%;


        top:43px;
        left: 0px;
        margin-left: 0;
        margin-top: 30px;
    }

    .menu > li > ul > li ul li:hover ul{
        margin-top: 0;
    }

    .menu > li > ul li{
        padding: 15px 0 15px 6%;
        width: 94%;
    }

    .menu > li > ul li ul li{
        padding: 15px 0 15px 9%;
        width: 91%;
    }

    .menu > li > ul li ul li ul li{
        padding: 15px 0 15px 12%;
        width: 88%;
    }
   
    .menu ul li.dropdown:after {
        left: 90%;
    }  

    /* Disable animation for dropdown */
    .menu > li > ul li ul, .menu li >ul li, .menu > li > .megadrop, .menu > li > .columndrop, .menu > li > ul, .menu > li {
        transition: none;
        -moz-transition: none;
        -webkit-transition: none;
         -ms-transition: none;
        -o-transition: none;
    }

}

 

Though this technique may be well-suited to certain situations and menu structures, there are still a lot of other options out there for taming navigation on mobile devices. In our next Tutorial we are going to tell you how add it to blogger. stay tuned for our next tutorial.

Read Article →

4 comments

Reponsive Moniter, Tablet and Smart PhoneResponsive templates are necessary to have a website display correctly on every device. To begin creating your own Responsive Template, you will need to understand the CSS media property and what type of screens mobile phones, tablets and desktop computers are. Designing Mobile Responsive Templates has become a trending topic in web today. Mobile Technology and Mobile Traffic has evolved massively from 2011 to 2013, People now prefer reading articles on their Tablet, IPhone, Smart Phone. You can create your own Responsive Web Design (RWD) using HTML and CSS. Before we get started, we will need to get an idea of what we need to do to create the Responsive Template. We are releasing the first ever complete step by step Tutorial Guide on Responsive Blogger Templates to the Google Blogger Community.

 

CSS Media Type Detail

A CSS Media type is a CSS rule that allows the website to detect the type of media (For Example, browser size, screen resolution) and display specific CSS code accordingly. There are many different device types that can access the web. Below is a table of the possible device types. We will only be working with the "screen" CSS Media type. The other types are for coding your site for Access ability.

 

CSS Type          CSS Type Description

all                            Detects all device media type

aural                       Detects speech and sound devices for Accessibility

braille                     Detects braille tactile feedback devices for Accessibility

embossed             Detects paged braille printers for Accessibility

handheld               Detects devices that are handheld

print                        Detects if its a printer

projection              Detects projected slide presentation

screen                     Detects computer screens

 

Display Resolutions for Devices

Before you create your website, you will want to get an idea of what size your site should be on any given device. Below are lists of popular, mobile Phone, Tablet, and Desktop computer display sizes. You can also read briefly  article on Wikipedia.

Device resolutions can actually range from 320px - 1,920px! Unfortunately this large of a range brings complexity so let's break down the good, the bad, and the ugly.

Good:
Each device has a min and max-device width or 'trigger' point in portrait and landscape view. In other words, if you use a media query with a given conditional statement in your email, it will respond to that breakpoint.

Bad:

  1. Some devices trigger the same min and max-dimensions in portrait AND landscape view
  2. Android users can define a 'zoom' setting which changes the resolution of the display
  3. The introduction of Apple's Retina Display and the HD quality resolutions supported on several new Android devices use a pre-set 'zoom' multiplier to display your email.

 

Mobile phone sizes.

The following are a few popular devices size and resolution to give you an idea of what size you will want to make your website. Understanding Screen Densities.

 

  • iPhone 4S: 3.5 inches 640 x 960px
  • Samsung Galaxy Nexus: 4.65 inches 720 x 1280px
  • Sony Ericsson: 4 inches 480 x 854px
  • Nokia Lumia 800: 4.5 inches 480 x 800px
  • Motorola Photon 4g/ELECTRIFY: 4.3 inches 540 x 960px
 

Tablet screen sizes.

Mobile phones, tablets can vary between brands and types on the size of the display.

  • Apple iPad: 9.7 inches 1024 x 768px
  • Kindle Fire HD 8.9: 8.9 inches 801 x 533px
  • Samsung Galaxy Tab 10.1: 10.1 inches 1280 x 800px
  • Nexus 7: 7 inches 966 x 603px
  • Windows Surface Pro: 10.6 inches 1920 x 1080px

 

How to design Responsive Layouts?

If you have some know how about CSS and HTML it will b very easy for you to design responsive layout for your webpage and when you will yourself design it then trust me you will b having great passion for design responsive webpage.

You would love to play with your layout columns using just your browser.

Before 2 years CSS3 has introduced  new techniques of reaching some frequently used functions. It is no more limited to just styles but it now supports some really interesting front-end programming functions. The most popular amongst them are Media Queries (@media ) that acts like conditional IF statements used in blogger. You must be familiar that how difficult it is to click a web link in IPhone unless you zoom it.. In order to tell the browser to detect the screen size we will add a META viewport tag inside <head> section of your layout.

 

The viewport Meta tag alters the behavior of a mobile browser by modifying the "virtual viewport" of the device. The virtual viewport is the view of a mobile device screen that is other than the default view; therefore being deemed "virtual". This allows the screen on devices to have specified zoom behaviors. Below is the code snippet we will use.

 

<meta name="viewport" content="width=device-width">

 

This Meta tag tells the mobile device to not zoom. This allows the Responsive Template for mobile devices to be loaded in the scripts. Below is a table of different properties that can be used for the viewpoint Meta Tag.

 

Using CSS media queries to target different devices

iPhones, IPads, Android Tablets, TVs, and oh yes, the PC. Just a few years ago it was hard to imagine anything other than your bulky desktop or laptop at best travelling the information highway, but nowadays, those devices seems to be more and more in the minority. CSS media queries lets you quickly target different devices in your CSS, primarily through the window/screen dimensions of these devices.

Targeting "small screen" devices

To kick things off, you can use the below to target "small screen" devices:

 

/* target mobile devices with max device width 480px  */
@media screen and (max-device-width: 480px) {
/* CSS Properties for Smart Phones */
}

 

In our next part we will teach you how to design responsive Template for your website or blogger blog.

 

Any Trouble

If you are facing confusion in any part just  leave your valuable comment in the comment box below. Please let me know how useful was this tutorial for you and did it help answering most of your questions…?

Read Article →