Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Yes and no; I have yet to see a single site that works when you swap the CSS layouts out.

The thing is that CSS tries to separate layout and content, but you still have to encode the way that you want stuff to be laid out in the page at some level.

    <div id="header">
        ...
    </div>
only works when "header" means the same thing across all pages. Since this sort of spec for shared meaning doesn't exist, CSS isn't transferrable between sites in practice.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: