Surface Pro - Media Queries for mobile/tablet devices( ALL Updated - 2019)

/*Reference: 
https://gist.github.com/aamorozov/ff6b41896b7cfef299ec9ce83ea1889d
*/

@media only screen     
and (min-device-width : 1024px) 
and (max-device-width : 1366px) 
and (orientation : portrait) 
and (-webkit-min-device-pixel-ratio: 2) {
  /* PORTRAIT: 
 Apple Ipad Pro */ }
  
@media only screen and (max-width: 800px) and (orientation : portrait) {
 /* PORTRAIT:
 Samsung Galaxy Tab 3(10")
 Amazon indle Fire HD
 Motorola Xoom 1, 2 */
}

@media only screen and (max-width: 768px) and (orientation : portrait) {
 /* PORTRAIT:
 Apple iPad 1,2,3,4,Air, Mini
 Microsoft Surface
 HP Touchpad
 LG Optimus Pad  */
}

@media only screen and (max-width: 720px) and (orientation : portrait) {
 /* PORTRAIT:
 Microsof Surface Pro */
}

@media only screen and (max-width: 600px) and (orientation : portrait) {
 /* PORTRAIT:
 Asus Nexus 7
 BlackBerry PlayBook
 Kindle 3
 LG G Pad 8.3
 Samsung Galaxy Tab 2(7") */
}


 /*Mobile. Iphone 6 plus and galaxy edge will go somewhere here*/
 
@media only screen and (max-width: 400px) and (orientation : portrait) {
 /* PORTRAIT: (some of them might need to be broken out into '360px')
 Apple Iphone 6
 Samsung Galaxy S3, S4, S5, S6, S7
 Samsung Galaxy Note, Note 2
 Motorola Moto G
 LG Nexus 5
 Google Nexus 5
 HTC One X, Sensation
 BlackBerry Bold 9900
 BlackBerry Z10 */
}

@media only screen and (max-width: 320px) and (orientation : portrait) {
 /* PORTRAIT:
 Apple iPhone 3, 4, 5
 HTC Nexus One, Evo
 LG Optimus
 Nokia N900
 Nokia Lumia 1020
 Samsung Galaxy S, S2 */
}


@media only screen and (max-width: 1366px) and (orientation : landscape) {
 /* LANDSCAPE:
 Microsoft Surface 
 Apple Ipad Pro */
}

@media only screen and (max-width: 1280px) and (orientation : landscape) {
 /* LANDSCAPE:
 Samsung Galaxy Tab(7.7 > 12.2)
 Mictosoft Surface Pro 1, 2
 Acer Iconia Tab (A100-A500)
 ASUS Transformer Pad TF300T
 Motorola Xoom 1, 2
 LG Optimus Pad */
}

@media only screen and (max-width: 1024px) and (orientation : landscape) {
 /* LANDSCAPE:
 Apple iPad 1,2,3,4,Air,Mini
 BlackBerry PlayBook
 Samsung Galaxy Tab 2(7") */
}

@media only screen and (max-width: 980px) and (orientation : landscape) {
 /* LANDSCAPE:
 Nexus 7
 HTC Evo 3D */
}

@media only screen and (max-width: 800px) and (orientation : landscape) {
 /* LANDSCAPE:
 Iphone 6plus
 Kindle Fire HD 7, 8
 HTC Desire Z
 Nokia N900
 Samsung Galaxy Grand */
}

@media only screen and (max-width: 640px) and (orientation : landscape) {
 /* LANDSCAPE:
 Samsung Galaxy S3, S4, S5, S6, S7
 Samsung Galaxy Note 1, 2
 HTC One S, V
 Nokia 500 */
}

@media only screen and (max-width: 600px) and (orientation : landscape) {
 /* LANDSCAPE:
 Nexus 4
 Apple iPhone 5 */
}

@media only screen and (max-width: 540px) and (orientation : landscape) {
 /* LANDSCAPE:
 HTC Desire, One
 LG Optimus 2X
 Nexus S
 Samsung Galaxy S2
 BlackBerry Z10 */
}

spacer

[FIX] Sublime Error - There Are Not Packages Available For Installation - 100% working



If you are tired of searching solution for the sublime text editors error which says "There are no packages available for installation".Then try this solution.

It will work like a charm;). Let me know if it works or not and if you have more problems. I will try to help if I know the solution.

_____________________________________________________________
https://web.archive.org/web/20150905194312/https://packagecontrol.io/channel_v3.json

"channels":["https://erhan.in/channel_v3.json"],
_____________________________________________________________


email:  hello@mrmoeed.com
website: http://mrmoeed.com
spacer

Free Frontend Web Development course in #Urdu - Class 36 - Convert PSD into Bootstrap4

spacer

HOW TO ADD CHROME’S EMULATED DEVICES (iPhone Xs / iPhone Xs Max)

if you want to add new emulated mobile devices into chrome developer tool follow this process:

  1. Open the Developer Tools pane (CTRL+SHIFT+I)
  2. Press (F1) then Devices and clicking the Add custom device button

New Device Data

Here is the data for some current devices: Click the link below to find all devices. 
Device Name Width Height
iPhone Xs 375 812
iPhone Xs Max 414 896
iPhone XR 414 896
Samsung Galaxy S9 360 740
Samsung Galaxy S9+ 320 658
Samsung Galaxy Note 9 412 846
Pixel 3 393 786
Pixel 3 XL 412 846
iPhone X 375 812
Palm PVG100 360 640
iPhone 8 Plus 414 736
iPhone 8 375 667
iPhone 7 Plus 414 736
iPhone 7 375 667
iPhone SE 320 568
iPad Mini 4 768 1024
iPad Pro (10.5") 834 1112
iPad Pro (12.9") 1024 1366
Red Hydrogen One 412 732
Samsung Galaxy Tab S3 768 1024
Samsung Galaxy Note 8 412 846
Samsung Galaxy S8 360 740
Samsung Galaxy S8+ 412 846
Samsung Galaxy S7 360 640

Media Queries

/* 1792x828px at 326ppi iPhone XR */
@media only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 2)
    {}

    /* 2436x1125px at 458ppi iPhone XS*/
@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3)
    {}

    /* 2688x1242px at 458ppi iPhone XS Max*/
@media only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 3)
    {}

spacer

Professional Logo Design in Urdu | Adobe Illustrator

Hi Guys, In today's lecture, we will learn how to trace logo from the raster image using Adobe Illustrator.

Professional Logo Design in Urdu | Adobe Illustrator



▲ WATCH COMPLETE VIDEO HERE ==> https://www.youtube.com/watch?v=aRECPT9L6SM




spacer

Free Frontend Web Development course in Urdu - Class 15 - CSS ( entity, Animation, and Responsive)

Free Frontend Web Development course in Urdu - Class 15 - CSS  ( entities, Animation, transition, and Responsive)

WATCH FULL VIDEO HERE ==> https://www.youtube.com/watch?v=0PQVxDaP7E4


Hi Guys,

In today's lecture, we will learn CSS #entity, #Animation, #transition, and #Responsive (Media Queries).

Entities:   =   00:22
Animation:  =  03:50
Transition:   =  13:00
Responsive (Media Queries):  =  18:09

Feel free to ask question :).
spacer

Free Frontend Web Development course in Urdu - Class 14 - CSS ( Units, viewport, and functions)

Free Frontend Web Development course in Urdu - Class 14 - CSS  ( Units, viewport, and functions)

WATCH FULL VIDEO HERE ==> https://www.youtube.com/watch?v=-anf0_NpmTY


Hi Guys,

In today's lecture, we will learn CSS #Units, #viewport, and #functions.

UNITS:  PX, EM, REM  =   00:14
VIEWPORT: VH, VW, VMIN, VMAX  =  08:55
FUNCTIONS: CALC()  =  18:50

Feel free to ask question :).
spacer

Free Frontend Web Development course in Urdu - Class 13 - combinators, Pseudo Class,

Free Frontend Web Development course in Urdu - Class 13 - CSS  ( combinators, Pseudo Class, Pseudo Elements and Sprites)

WATCH FULL VIDEO HERE ==> https://www.youtube.com/watch?v=C1KupT5gauA


Hi Guys,

In today's lecture, we will learn CSS #Combinators, #PseudoClass, #PseudoElements, and #Sprites.

Combinators =   00:42
Pseudo Class =  08:59
Pseudo Elements =  12:35
Sprites =  18:15

Feel free to ask question :).
spacer

Free Frontend Web Development course in Urdu - Class 12 - Understanding Flexbox - Part 2

Free Frontend Web Development course in Urdu - Class 12 - Understanding Flexbox - Part 2 Hi Guys, We will cover remaining concepts related to Flexbox in this lecture. To watch 1st Part please visit URL below. https://youtu.be/sTy9_e61Trs

WATCH COMPLETE VIDEO HERE ==> https://www.youtube.com/watch?v=6wvVOi4_hio

spacer

Free Frontend Web Development course in Urdu - Class 11 - Understanding Float / Flexbox

Free Frontend Web Development course in Urdu - Class 11 - Understanding Float / Flexbox CSS - Part 1 Hi Guys, From now on I will be sharing my live online classes; you might hear multiple voices of students attending the class. I will cut out the Question answer session so that you will watch actual training only. In our today's class we will learn Layouts using #float property(float left, float right, clear both) and we will start Flexbox too. This is the first part for Flexbox soon you will have the 2nd part for #Flexbox.

WATCH COMPLETE VIDEO HERE ==>> https://www.youtube.com/watch?v=sTy9_e61Trs


spacer

Free Frontend Web Development course in Urdu - Class 10 - Understanding position property

We will learn position property in this lecture. I will explain in every detail so that you know exactly when to apply absolute and relative property.

WATCH COMPLETE VIDEO HERE ==> https://www.youtube.com/watch?v=G3hvWVY3Li0

spacer

Free Frontend Web Development course in Urdu - Class 9 - Understanding nth-child

We will learn very important selector called nth-child in this lecture. I will explain in every detail so that you know exactly when to apply Understanding nth-child and nth-of-type selectors.

WATCH COMPLETE VIDEO HERE ==>> https://www.youtube.com/watch?v=wgw5gaWDkkM

spacer

Free Frontend Web Development course in Urdu - Class 8 - Understanding Padding & Margin

We will learn very important property called Padding/margin in this lecture. People often remain too confused in these two terms, I will explain in every detail so that you know exactly when to apply #padding and when to apply #margin.

WATCH FULL VIDEO HERE ==>> https://www.youtube.com/watch?v=xUHlXUJ296k

spacer