Hi,
I've bumped into a number of CSS clauses that include either X's or a period in an :after statement, such as:
.elgg-body:after {
display: block;
visibility: hidden;
height: 0 !important;
line-height: 0;
overflow: hidden;
font-size: xx-large;
content: " x x x x x x x x x x ... x x x x x x ";
}
I understand what it's doing, but I'm hoping someone can tell me why this kind of structure is used in 1.8.
Thanks,
Mike
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- MikeHedman@AquaTerm
MikeHedman - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
You must log in to post replies.looks like u r asking abt the nuance oss CSS as a 'language syntax' ;) just goto e.g.w3cshools and browse some of their tutorials on css - there's much there that will help learning more easily.. cheers..
As I stated in the original post, I don't need an explanation of what the :after clause does, or its syntax. My question is rather what programming problem were the core guys solving when they used this technique to add (hidden) periods all over a page, or a string of (hidden) x's.
Mike
I don't know for sure but my best guess is cross-browser compatibility. That said I've never had to use anything like that to achieve my goals. That said, I'm pretty uncaring about decade old/fringe browsers.