- use angular or Backbone on client
- use
<meta name="fragment" content="!">
to inform Google site is using ajax and should be crawled (see https://developers.google.com/webmasters/ajax-crawling/docs/getting-started?hl=fr and https://developers.google.com/webmasters/ajax-crawling/docs/specification) - use backend for services that serve JSON only
- use some kind of rewrite (.htaccess, nginx) to direct traffic with
_escaped_fragment_
to local instance of https://github.com/collectiveip/prerender, that reirect can be further moved to CDN - Or, just use rendr or alike, and be done with it :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
position: relative; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h3:nth-child(2) + ul { | |
background: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 2rem; | |
} | |
.container { | |
width: 10%; | |
} | |
p { | |
overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 1.6rem; | |
} | |
.container { | |
width: 10%; | |
} | |
/* icon */ | |
.icon:before { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 1.6rem; | |
} | |
.container { | |
width: 15%; | |
} | |
/* icon, content is icon sign */ | |
.icon:before { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 1.6rem; | |
} | |
.container { | |
width: 20%; | |
display: table; | |
margin-bottom: 1em; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 1.6rem; | |
} | |
.container { | |
width: 20%; | |
padding: 2%; | |
float: left; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 1.6rem; | |
} | |
.container { | |
width: 20%; | |
padding: 2%; | |
float: left; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a { | |
background: blue; | |
color: white; | |
padding: 0px 10px; | |
text-decoration:none; | |
border-bottom: 3px solid yellow; | |
} | |
p { | |
width: 200px; |