Články na téma „výkon”


18. 10. 2010
Descendant selectors like .content .sidebar are problematic because to determine whether it should apply the styles to .sidebar, it has to find .content. Child selectors (Ex. .content > .sidebar) are better than general descendant selectors because the browser only has to check one other element instead of mutiple elements.

„Why we don’t have a parent selector” — čtete celé, Jonathan Snook válí!

Komentáře

Tagy: výkon css prohlížeče

18. 9. 2010
Iframes are the most costly element to add to a given page. They block the page from firing the onload event until they are complete.

Jedna z drobných technických zajímavostí, které mě dříve nanapadly a kterých je plný dokument Isobar Code Standards. Mezi autory třeba Paul Irish (Modernizr) nebo Nathan Smith (960.gs). Vezměte si domů a čtěte. Pokud znáte jiné veřejně dostupné interní front-endové standardy, boxík pro komentáře se nemůže dočkat. .-)

Komentáře

Tagy: HTML výkon

26. 7. 2010

Dejte stylopis pro všechna média do jednoho souboru

Mám rád princip tumblelogu. Skvěle funguje pro šíření myšlenek napříč webem. Do blogu si skrze vlastní ego nikdo cizí nápady neprotlačí. Vzhůru dolů je tumblelog. :-)

Mít blog, nemůžu celý post postavit na myšlence Nicolase Gallaghera

Don’t see the point of setting media queries in the HTML (on ) when setting them in your CSS file is more flexible and informative.

For example, if I’m editing a CSS file I dont want to have to look at the HTML to find out what conditions result in the use of that CSS.

Furthermore, multi-author maintenance is simplified if using one CSS file (media queries set in the CSS) & performance is improved.

Rough rule: Does it affect the site’s presentation? Does someone editing the CSS need to know this? Yes. Then control it in the CSS file.

…jenže k té myšlence nemám co dodat a tak ji pomocí svého tumblelogu šířím dál. Dobrou noc. :-)

Komentáře

Tagy: css spravovatelnost kódu html výkon

Veřejná školení
Webexpo Academy, Praha

HTML5 & CSS3
29/5
Mobilní
webdesign
18/6