Tus qauv qhov loj me: cov yam ntxwv, qhov xav tau thiab cov lus pom zoo

Cov txheej txheem:

Tus qauv qhov loj me: cov yam ntxwv, qhov xav tau thiab cov lus pom zoo
Tus qauv qhov loj me: cov yam ntxwv, qhov xav tau thiab cov lus pom zoo
Anonim

Kev txhim kho lub vev xaib yog txheej txheem ntau yam. Tab sis tseem, tag nrho nws cov theem tuaj yeem muab faib ua ob yam tseem ceeb - lub luag haujlwm thiab lub plhaub sab nraud. Los yog, raws li kev cai ntawm cov webmasters, back-end thiab front-end, feem. Cov neeg uas xaj lawv lub vev xaib los ntawm lub vev xaib txhim kho lub vev xaib feem ntau tsis ntseeg tias nws tsim nyog tsom rau kev ua haujlwm nkaus xwb, thiab qhov no yuav yog qhov kev txiav txim siab. Tab sis qhov no muaj tseeb nyob rau hauv cov xwm txheej tsis tshua muaj, feem ntau yog rau kev pib ua haujlwm ntawm theem kev sim beta. Txwv tsis pub, cov duab tsim thiab cov neeg siv interface tsuas yog yuav tsum tau ua raws li cov qauv kev txhim kho hauv lub vev xaib thiab yooj yim.

Thawj lub hauv paus pob zeb uas tus tsim interface, lossis tus tsim qauv, ntsej muag yog qhov dav ntawm qhov chaw teeb tsa. Tom qab tag nrho, rau nws yog tsim nyog los kos interfaces. Purely intuitively, ob txoj hauv kev tshwm sim - ob qho tib si ua cov layouts cais rau txhua qhov kev daws teeb meem nrov, lossis tsim ib lub vev xaib rau txhua qhov kev qhia. Thiab ob qho kev xaiv yuav tsis raug, tab sis thawj yam ua ntej.

Standard lub vev xaib dav hauv pixelsrau Runet

Ua ntej kev txhim kho ntawm kev hloov pauv, kev txhim kho ntawm qhov chaw nrog qhov dav ntawm ib txhiab pixels yog qhov tshwm sim loj. Daim duab no tau raug xaiv rau ib qho laj thawj yooj yim - kom lub xaib haum rau txhua qhov screen. Thiab qhov no muaj nws tus kheej logic, tab sis cia peb xav tias ib tug neeg tseem muaj tsawg kawg yog HD saib ntawm lub desktop. Nyob rau hauv cov ntaub ntawv no, koj layout yuav zoo li ib tug me me sawb nyob rau hauv nruab nrab ntawm lub screen, qhov twg txhua yam yog daig ua ke nyob rau hauv ib tug heap, thiab nyob rau sab muaj ib tug lossis loj qhov chaw uas tsis siv. Tam sim no cia peb xav tias ib tus neeg nkag mus rau koj lub vev xaib ntawm lub ntsiav tshuaj nrog 800px wide screen thiab "Qhia tag nrho lub vev xaib" raug kuaj xyuas hauv cov chaw. Nyob rau hauv rooj plaub no, koj lub xaib kuj tseem yuav tshwm sim tsis raug, vim nws tsuas yog yuav tsis haum rau qhov screen.

Los ntawm cov kev xav no, peb tuaj yeem txiav txim siab tias qhov dav ruaj khov rau qhov kev teeb tsa yog qhov tsis haum rau peb thiab peb yuav tsum nrhiav lwm txoj hauv kev. Cia peb tsom xam lub tswv yim ntawm kev sib cais layout rau txhua qhov screen dav.

Layouts rau txhua lub sijhawm

Yog tias koj tau xaiv los ua ib lub tswv yim los tsim cov layouts rau txhua qhov screen loj ntawm lub khw, ces koj qhov chaw yuav yog qhov tshwj xeeb tshaj plaws hauv Internet. Tom qab tag nrho, nws tsuas yog tsis yooj yim sua hnub no los npog tag nrho cov khoom siv, sim ua kom zoo rau txhua qhov kev xaiv. Tab sis yog tias koj tsom mus rau qhov kev daws teeb meem nrov tshaj plaws ntawm cov saib thiab cov ntxaij vab tshaus, ces lub tswv yim tsis yog phem. Nws tsuas yog qhov tsis zoo yog cov nqi nyiaj txiag. Tom qab tag nrho, thaum tus tsim interface, tus tsim qauv thiab tus coder raug yuam ua haujlwm ib yam 5 lossis 6 zaug, qhov project yuav raug nqi.disproportionately siab tshaj tus nqi peev txheej thaum xub thawj.

qhov loj me
qhov loj me

Yog li ntawd, tsuas yog ib nplooj ntawv tuaj yeem khav theeb ntau ntawm cov qauv rau cov ntxaij vab tshaus sib txawv, lub hom phiaj yog muag ib yam khoom thiab yuav tsum ua kom zoo. Zoo, yog tias koj tsis muaj ib qho ntawm cov kev tsaws no, tab sis muaj ntau nplooj ntawv, ces koj yuav tsum xav ntxiv.

Ntau Qhov Chaw Nrov Tshaj Plaws

Ib qho kev sib haum xeeb ntawm ob qhov siab tshaj plaws yog ua rau cov qauv rau peb lossis plaub qhov loj me. Ntawm lawv, ib tug yuav tsum yog ib tug layout rau mobile pab kiag li lawm. Tus so yuav tsum tau yoog rau me me, nruab nrab thiab loj desktops. Yuav ua li cas xaiv qhov dav ntawm qhov chaw? Hauv qab no peb nthuav qhia HotLog cov kev pabcuam txheeb cais rau lub Tsib Hlis 2017, uas qhia peb txog kev faib cov koob npe ntawm ntau yam khoom siv tshuaj ntsuam kev daws teeb meem, nrog rau qhov muaj zog ntawm qhov ntsuas no.

default website dav hauv pixels
default website dav hauv pixels

Los ntawm lub rooj koj tuaj yeem paub seb yuav txiav txim siab qhov loj ntawm qhov chaw koj xav siv li cas. Tsis tas li ntawd, peb tuaj yeem txiav txim siab tias hom ntau tshaj plaws niaj hnub no yog qhov screen ntawm 1366 los ntawm 768 pixels. Cov ntxaij vab tshaus zoo li no tau teeb tsa hauv pob nyiaj siv laptops, yog li lawv cov koob meej yog ntuj. Qhov nrov tshaj plaws tom ntej no yog Full HD saib, uas yog tus qauv kub rau cov yeeb yaj kiab, kev ua si, thiab yog li tsim lub vev xaib layouts. Ntxiv rau hauv lub rooj peb pom qhov kev daws teeb meem ntawm cov khoom siv txawb 360 los ntawm 640 pixels, nrog rau ntau yam kev xaiv rau desktop thiab mobile screens tom qab nws.

Tsim layout

YogTom qab txheeb xyuas cov txheeb cais, peb tuaj yeem xaus tias qhov chaw pom qhov dav dav muaj 4 qhov sib txawv:

  1. Laptop version nrog 1366px dav.
  2. Nkauj Ntxawm Tsab Full HD version.
  3. A 800px dav layout rau tso saib ntawm cov duab me me.
  4. Mobile version ntawm qhov chaw - 360 pixels wide.

Cia hais tias peb tau txiav txim siab seb qhov loj npaum li cas los siv rau qhov tsim tawm rau lub xaib. Tab sis xws li ib qhov project yuav tseem kim. Yog li cia peb saib ntau cov kev xaiv, lub sijhawm no tsis siv qhov dav ruaj khov.

Ua kom qhov layout hloov tau

Muaj lwm txoj hauv kev, thaum nws tsim nyog hloov kho tsuas yog rau qhov tsawg kawg nkaus ntawm qhov screen, thiab qhov loj me ntawm lawv tus kheej yuav raug teeb tsa los ntawm feem pua. Nyob rau tib lub sijhawm, xws li cov ntsiab lus cuam tshuam xws li cov ntawv qhia zaub mov, cov nyees khawm, thiab lub logo tuaj yeem teeb tsa hauv qhov tseem ceeb, tsom rau qhov tsawg kawg nkaus ntawm qhov dav ntawm lub vijtsam hauv pixels. Blocks nrog cov ntsiab lus, ntawm qhov tsis sib xws, yuav raug ncab raws li qhov feem pua ntawm qhov dav ntawm qhov screen. Txoj hauv kev no tso cai rau koj kom tsis txhob hnov qab txog qhov loj ntawm qhov chaw raws li qhov txwv rau tus tsim thiab txawj ntaus qhov nuance.

Dab tsi yog qhov sib piv kub thiab nws tuaj yeem siv rau lub vev xaib li cas?

Txawm tias nyob rau hauv Renaissance, ntau tus kws kos duab thiab cov kws kos duab tau sim muab lawv cov kev tsim kom zoo nkauj thiab kev faib ua feem. Rau cov lus teb rau cov lus nug txog qhov tseem ceeb ntawm qhov kev faib ua feem, lawv tig mus rau poj huab tais ntawm txhua txoj kev tshawb fawb - lej.

Txij thaum ancient sij hawm, ib qho kev faib ua feem tau invented uas peb lub qhov muag perceives raws li lub feem ntau natural thiab elegant,vim nws yog ubiquitous nyob rau hauv qhov. Tus founder ntawm cov mis rau xws li ib tug piv yog ib tug txawj ntse Greek kws kes duab vajtse hu ua Phidias. Nws suav hais tias yog qhov loj ntawm qhov kev faib ua feem cuam tshuam nrog tus me dua li tag nrho yog cuam tshuam nrog qhov loj dua, ces qhov kev faib ua feem yuav zoo tshaj plaws. Tab sis qhov no yog rooj plaub yog tias koj xav faib cov khoom asymmetrically. Qhov kev faib ua feem no tau tom qab hu ua ntu kub, uas tseem tsis tau tshaj nws qhov tseem ceeb rau ntiaj teb keeb kwm ntawm kab lis kev cai.

Rov qab rau lub vev xaib tsim

Nws yooj yim heev - siv tus lej golden, koj tuaj yeem tsim cov nplooj ntawv uas yuav ua rau tib neeg lub qhov muag zoo li ua tau. Kev xam raws li lub ntsiab lus ntawm cov qauv golden piv, peb tau txais tus lej irrational 1, 6180339887 …, tab sis kom yooj yim, peb tuaj yeem siv tus nqi sib npaug ntawm 1, 62. Qhov no yuav txhais tau tias cov blocks ntawm peb nplooj ntawv yuav tsum yog 62. % thiab 38% ntawm tag nrho, txawm li cas los xij qhov loj npaum li cas qhov tsim tawm rau lub xaib koj siv. Koj tuaj yeem pom ib qho piv txwv hauv daim duab no:

site dav hauv pixels
site dav hauv pixels

Siv cov thev naus laus zis tshiab

Niaj hnub nimno lub vev xaib layout thev naus laus zis ua rau nws muaj peev xwm nthuav tawm lub tswv yim ntawm tus kws npaj thiab tsim qauv, yog li tam sim no koj tuaj yeem them taus los siv cov tswv yim txaus ntshai tshaj li thaum kaj ntug ntawm Internet technologies. Koj tsis tas yuav xav nyuaj txog qhov luaj li cas ntawm qhov chaw yuav tsum yog. Nrog rau qhov tshwm sim ntawm tej yam xws li thaiv kev hloov kho layout, dynamic loading ntawm cov ntsiab lus thiab fonts, lub website kev loj hlob tau ua ntau qab ntxiag. Tom qab tag nrho, cov technologies yogkev txwv tsawg dua, txawm tias lawv tseem nyob ntawd. Tab sis raws li koj paub, tsis muaj kev txwv yuav tsis muaj kev kos duab. Peb xav kom koj siv ib qho kev tsim qauv tsim tiag tiag - qhov sib piv golden. Nrog nws, koj tuaj yeem ua tau zoo thiab zoo nkauj sau qhov chaw ua haujlwm, txawm tias qhov chaw loj npaum li cas koj tau teeb tsa hauv koj cov qauv.

Yuav ua li cas nce qhov chaw ua haujlwm ntawm qhov chaw

Muaj txoj hauv kev zoo uas koj yuav tsis muaj chaw txaus kom haum rau tag nrho cov ntsiab lus UI rau hauv qhov me me. Hauv qhov no, koj yuav tau pib xav kom muaj tswv yim lossis muaj tswv yim ntau dua li qhov koj tau ua dhau los.

Ntau tshaj qhov chaw pub dawb ntawm qhov chaw los ntawm kev zais cov kev taw qhia hauv cov ntawv qhia pop-up. Nws yog qhov tsim nyog los siv txoj hauv kev no tsis yog ntawm cov khoom siv mobile xwb, tab sis kuj ntawm desktops. Tom qab tag nrho, tus neeg siv tsis tas yuav saib txhua lub sijhawm ntawm cov ncauj lus dab tsi ntawm koj lub xaib - nws tuaj rau cov ntsiab lus. Thiab qhov xav tau ntawm tus neeg siv yuav tsum tau hwm.

Ib qho piv txwv ntawm txoj hauv kev zoo los nkaum cov ntawv qhia zaub mov yog cov duab hauv qab no (duab hauv qab).

qhov loj ntawm qhov generated qhov chaw rau lub site
qhov loj ntawm qhov generated qhov chaw rau lub site

Nyob rau ntawm lub ces kaum sab sauv ntawm cheeb tsam liab, koj tuaj yeem pom tus ntoo khaub lig, nyem rau ntawm qhov yuav zais cov ntawv qhia zaub mov rau hauv lub cim me me, tawm hauv tus neeg siv ib leeg nrog cov ntsiab lus ntawm lub vev xaib.

Txawm li cas los xij, qhov no yog xaiv tau, koj tuaj yeem tawm ntawm kev taw qhia, uas yuav pom nyob ib puag ncig. Tab sis koj tuaj yeem ua rau nws yog ib qho qauv tsim zoo nkauj, thiab tsis yog ib daim ntawv teev npe nrov ntawm qhov chaw. Siv cov cim intuitive ntxiv rau lossis txawm siv cov ntawv txuas. nws zoo ib yamyuav tso cai rau koj lub xaib kom siv tau zoo dua ntawm qhov chaw tshuaj ntsuam ntawm tus neeg siv lub cuab yeej.

yuav ua li cas xaiv lub vev xaib dav
yuav ua li cas xaiv lub vev xaib dav

Lub vev xaib zoo tshaj yog teb

Yog tias koj tsis paub qhov layout xaiv rau lub xaib, txhua yam yooj yim rau koj. Txhawm rau txuag cov nqi tsim kho thiab tib lub sijhawm tsis txhob poob koj cov neeg tuaj saib vim qhov teeb meem tsis zoo rau qee yam khoom siv, siv cov qauv tsim teb.

Kev tsim qauv teb yog tus qauv tsim uas zoo sib xws ntawm cov khoom siv sib txawv. Txoj hauv kev no yuav tso cai rau koj lub xaib kom nkag siab thiab yooj yim txawm tias ntawm lub laptop, txawm tias ntawm lub ntsiav tshuaj, txawm tias ntawm smartphone. Cov nyhuv no yog ua tiav los ntawm kev hloov pauv qhov dav ntawm qhov chaw ua haujlwm ntawm qhov screen. Los ntawm kev siv cov ntawv teb rau koj qhov chaw, koj tau txiav txim siab zoo tshaj plaws.

pom qhov chaw dav
pom qhov chaw dav

Dab tsi yog qhov txawv ntawm cov qauv tsim thiab lub vev xaib versions

Teb tsim txawv ntawm lub xov tooj ntawm tes ntawm qhov chaw nyob rau hauv qhov kawg, tus neeg siv tau txais html code uas txawv ntawm lub desktop. Qhov no yog qhov tsis zoo nyob rau hauv cov nqe lus ntawm server kev ua tau zoo optimization nrog rau kev tshawb fawb cav optimization. Tsis tas li ntawd, nws nyuaj rau xam cov txheeb cais rau ntau qhov sib txawv ntawm qhov chaw. Txoj kev hloov kho tsis muaj qhov tsis zoo no.

dab tsi yuav tsum yog qhov loj ntawm qhov chaw
dab tsi yuav tsum yog qhov loj ntawm qhov chaw

Kev teb rau ntau yam khoom siv tau ua tiav los ntawm kev teeb tsa nrog feem pua ntawm qhov dav teev lossis los ntawm kev xa cov blocks mus rau qhov chaw muaj (hauv lub dav hlau ntsug ntawm lub xov tooj smartphone tsis yogkab rov tav ntawm lub desktop), lossis tsim ib tus neeg layouts rau cov ntxaij vab tshaus sib txawv.

Kawm paub ntau ntxiv txog kev tsim qauv thiab kev txhim kho hauv peb cov kev qhia.

Pom zoo: