Rewrite based on Bootstrap