8 ms·
ct.css – Take a look inside your <head>
- maxk42 5y agoClever use of CSS!
- piperswe 5y agoCould we get the title changed to "ct.css – Let’s take a look inside your <head>"? It looks like some got cut off.
- dang 5y agoDone now.
- ibudiallo 5y agoThat's fun. I actually used a similar method to build this page[1]. (see page source). I used script tags for the content. [1]: https://idiallo.com/nobot.php https://idiallo.com/nobot.php Edit: All HTML tags are a CSS rule away to becoming visible.
- ibudiallo 5y agoUpdate: I've built this page many years ago, and one of the issues was that I couldn't nest script tags. The reason is everything inside the script tag is considered plain text. So having a hyperlink inside a paragraph was impossible. However, I just found out that you can create nested elements in the script tags if via javascript. So something like script1.appendChild(script2) works and renders correctly. The Possibilities!!!
- handonam 5y agoCSSWizardry, aka Harry Roberts, who is (was?) big on BEMCSS and ITCSS, and the author of https://cssguidelin.es/ https://cssguidelin.es/. He's helped me really understand how to properly take care of CSS and make sense of them. Recommend reading his blog and that guidelines site to get a grip on CSS if you've struggled with it.
- ljm 5y agoThe domain for CSS Guidelines is a real shame. It wins points for vanity but it's on Spain's tld. ccTlds tend to be localised such that you don't see them unless you're in the country.
- codetrotter 5y ago> ccTlds tend to be localised such that you don't see them unless you're in the country. In Google results you mean, or by the site operators themselves? I agree if you mean in Google results. I don’t so much agree if you mean by the site operators. At least not for European cctlds. I find it far more common that sites from the US are inaccessible to Europe, than to see a site with a European cctld inaccessible to people in other countries. Or did you mean sites that redirect to an international version of the same content? Sometimes that happens but usually only with sites belonging to big multi-national companies in my experience. And even then they often ask whether you’d like to stay on the version you went to or go to the version for another region or country.
- ljm 5y agoI mean that Google won't show the results and you also won't actually remember the domain, because it's clever. And in this case, it's a spanish domain so is expected to cater to Spain. It's not unique, the .cat TLD for Catalonia requires that you serve your content in Catalan, so as to prevent people abusing the obvious appeal of a TLD that in English translates to a cute pet. .io, .ly and .sh have been victims of this technical imperialism.
- dylan604 5y agoTo me, that sounds a lot like a 2 year old type of behavior. Does anybody really even care what a TLD is or is "meant" to be used as? Honestly, if it's not a .com, most people are going to screw up and add .com out of sheer habit. It's the friggin' internet. If it's out there, someone will do something they feel like doing with it even if that's not the originally intended concept.
- brundolf 5y agoI love a good CSS trick. Very cool.