Skip to main content

CSS - CSS Measurement Units kya h in hindi

CSS को पूरी तरह से सिखने के लिए CSS के Measurement Units को जानना बहुत ही जरुरी है |

कभी-कभी HTML Elements को height, width, border या आदि कई properties देने के लिए measurement units का इस्तेमाल किया जाता है |
कुछ वक्त तो CSS Measurement Units ये negative भी होते है | For Example, -50px, -1em
CSS Measurement Units के दो प्रकार होते है |
  • Absolute Measurement Units
  • Relative Measurement Units

Absolute Measurement Units Calculator

Absolute Measurement Units
Unitcminmmpcptpx

Absolute Measurement Units

Live Example for Relative Units


Absolute Measurement Units ये अपने हिसाब से और screen resolution के हिसाब से screen पर measurements दर्शाते है | इनका measurement fixed होता है ये दूसरे element से संबंध नहीं रखता है |
Absolute Measurement Units
UnitDescriptionExample
cm(centimeter)ये centimeter measurement होता है |See in Details
in(inch)ये inch measurement होता है |See in Details
mm(millimeter)ये millimeter measurement होता है |See in Details
pc(picas)ये pica measurement होता है |See in Details
pt(point)ये point measurement होता है |See in Details
px(pixel)Universal Unit. ये pixel measurement होता है |See in Details

Relative Measurement Units

Live Example for Relative Units


Relative Measurement Units ये दूसरों Element से संबंध रखके अपना measurement दर्शाते है |
Relative Measurement Units
UnitDescriptionExample
%(percentage)ये measurement किसी दूसरी value से संबंधित होता है |See in Details
em(emphasis)ये current font के मुताबिक चलता है | if 1em = font-size, 2em = 2 * font-sizeSee in Details
ex(x-height)ये current font के x-height मुताबिक चलता है |See in Details
rem(root element)root element(<html>) के मुताबिक चलता है |See in Details
vmax(viewport maximum width, height)Responsive. Maximum width और height के 1% होता है |See in Details
vmin(viewport minimum width, height)Responsive. Minimum width और height के 1% होता है |See in Details
vh(viewport height)Responsive. Viewport height के 1% होता है |See in Details
vw(viewport width)Responsive. Viewport width के 1% होता है |See in Details

Comments

Popular posts from this blog

Create a Website using HTML and CSS in Hindi With Source Codes

Create a Website using HTML and CSS in Hindi With Source Codes Welcome Developers, we will see how to create a website using HTML and CSS step by step in Hindi. The link is in Comment sections. In this Video, you will learn how to put everything you've learned so far about CSS into action—for your very first webpage. What you see now is going to look like your end result; I hope it inspires you to follow through with the whole project! You'll learn the components of this site and how it was put together, piece by piece. Also, website kaise banaye hindi me complete video. If you like this video please Like, Share with your friends and Don't forget to SUBSCRIBE my ThapaTechnical Channel :)

RSOS (Rajasthan State Open School) student and RBSE students big update , news in hindi

                  kya nhi honge promote / kya exam honge  rajasthan state open school and RBSE ke students ke lia bahut badi khabar aayi hai . promote hone ke chance hua kam . par ab bhi kosis karne par aap sabhi ko promote kiya ja sakta hai . per esi bich aap apni teyari bhi jaari rakhe taki aapke exam hone par bhi aap achhe nubers s paas ho sake. Thank You

ITI Employability Skills important question in hindi #Technical-INFo

                                                    Technical INFO 1. _________ संदर्भ प्रेषक तथा प्राप्तकर्ता को  मध्य पृष्ठभूमि की समानता को संदर्भित करता है  | ( a) भौतिक  (b ) सामाजिक (c ) सांस्कृतिक  ( d) समकालिकता ANS:- C   2. _______  विभिन्न पार्ट्स ऑफ़ स्पीच की फॉर्म्स को समझ लेने से ग्रामर सिखने का आधार तैयार हो जाता है   | ( a) पांच (b ) आठ (c ) सात  ( d) छ: ANS:- b   3.  आपको अपने साक्षात्कार के लिए कब आने की योजना बनानी चाहि ए  ? (a) 2  घंटे पहले (b) 1  घंटे पहले  (c) 30  मिनट पहले (d)  ठीक समय पर ANS:- C   4. WAN  का मतलब होता है    ? (a) Winning  And  Networking (b) Windows Access Network (c) Wide Access Network (d) Wide Area Network ANS:- d   5.  निम्नलिखित में से कौनसा एक एन्टी वायरस है    ? (a)  नॉर्...