12.07.2015 Views

systematic-css

systematic-css

systematic-css

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Optional footer contentHere are the selectors:.Dialog {}.DialogHeader {}.DialogHeader h2 {}.DialogBody {}.DialogBody p {}.DialogFooter {}.DialogFooter p {}Because each of the three sub-widgets is encapsulated in its own namespace, each can be moreeasily developed, tested, and maintained separately of the rest. And each widget specialises injust one thing. The parent Dialog widget would be responsible only for wrapping everything upin a box and positioning it on the page. The other three widgets would need only to focus onpresenting the content of each section of a dialog window.The widgets Dialog, DialogHeader, DialogBody and DialogFooter are clearly related. Butthere's nothing stopping us from combining entirely unrelated widgets to compose complex UIdesigns. Here's the markup for a tabbed interface that is made from lots of different widgets,each developed and maintained independently.PopularJust inEditor's choiceMost popular storiesThis is the titleLorem ipsum dolor sit amet...10 January, 2015This is the titleWidgets 51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!