Live data from Hacker News

Show HN: Basic.css – Classless CSS Starter File

github.com

61–68 of 68 posts

Re: Show HN: Basic.css – Classless CSS Starter File

#61
post #19

Earlier quoted context omitted.

> One thing I consistently dislike in these efforts is the misappropriation of HTML tags with certain semantics. As a counterpoint, I don't understand people pushing strict semantics in html elements where they're not really strictly defined or generally useful. Because of how loose the spec with how these things can be used (it it weren't it'd be like schema.org meets html) scraper and other UI tools don't really lo…

> Besides general accessibility (which is tag attribute based mostly) I was under the impression that semantic html elements imply certain aria tags (I read some mdn pages on this recently so I'm pretty confident in this impression, unless I confused proposed and actual specs). So, they can help with the ease of writing accessible UI.

Yes, the first rule of ARIA is if you can use HTML instead of ARIA attributes, do so; e.g. use , not .

Some roles inherent to HTML elements are only conditionally exposed; e.g. the element has the ARIA landmark role of "region" but assistive technologies that list landmarks should not include such section elements unless it has also been given an accessible name, e.g. Contact Info ... . I've read that the element is not really an ARIA "complementary" landmark if it's the child of another landmark but in practice it still seems to be treated that way.

Re: Show HN: Basic.css – Classless CSS Starter File

#62

Earlier quoted context omitted.

I think the right way to do it is to have the parser figure out which words are articles rather than explicitly tagging them. There are only three of them in English, and it's not a hard NLP problem. Of course, it's harder with Chinese, where there are countless measure words. And easier in a language without articles.

I am not sure if this is misunderstanding, satire, or trying to make a point. The article tag refers to the other definition of article -- "magazine article", not "article of speech".

Well, I think it's definitely not satire. Satire generally has an "intent of shaming individuals, corporations, government, or society itself into improvement." (source: Wikipedia). In other words satire has a target; it's making fun of someone or something, often with the goal of change. I definitely wasn't trying to mock anyone, affect change, or do anything ill-natured.

So I guess it might be one of the other options? :)

Re: Show HN: Basic.css – Classless CSS Starter File

#64

One thing I consistently dislike in these efforts is the misappropriation of HTML tags with certain semantics. In this instance, the elements should not be articles: they’re not complete, standalone items. To be sure, as https://html.spec.whatwg.org/multipage/sections.html#article... says, there’s subjectivity in deciding whether to use or , but I’m content to say that is wrong here. (Last time I looked into one of t…

My point wasn't to replace the classic class grid, just to give basic HTML5 grid if necessary. You can always add any other CSS Framework for grid formatting. About and other HTML5 tags.. you can always personalise the code to your standards. The grid is based on this: parent element {display: flex; flex-flow: row wrap} child element {flex:1} Replace the parent element (container) with any HTML element, replace the c…

Great reply, Vlad. Your code is really small and tight, and it's easy to modify, just as you say. That's one of the benefit of writing in the style that you did: modern, using all of modern CSS's native goodness. Which means its small, static, no build, and easy to modify. Very nice work.

Re: Show HN: Basic.css – Classless CSS Starter File

#65

Earlier quoted context omitted.

I am not sure if this is misunderstanding, satire, or trying to make a point. The article tag refers to the other definition of article -- "magazine article", not "article of speech".

Well, I think it's definitely not satire. Satire generally has an "intent of shaming individuals, corporations, government, or society itself into improvement." (source: Wikipedia). In other words satire has a target; it's making fun of someone or something, often with the goal of change. I definitely wasn't trying to mock anyone, affect change, or do anything ill-natured. So I guess it might be one of the other opti…

Boring question - could you spell out the point you were trying to make? I'm interested to hear it but it's currently kind of vague.

Re: Show HN: Basic.css – Classless CSS Starter File

#66

Earlier quoted context omitted.

Well, I think it's definitely not satire. Satire generally has an "intent of shaming individuals, corporations, government, or society itself into improvement." (source: Wikipedia). In other words satire has a target; it's making fun of someone or something, often with the goal of change. I definitely wasn't trying to mock anyone, affect change, or do anything ill-natured. So I guess it might be one of the other opti…

Boring question - could you spell out the point you were trying to make? I'm interested to hear it but it's currently kind of vague.

I made a dumb joke. It wasn't sarcasm, satire, snark, or any sort of point. It was a bit of wordplay. That's all. People liked it, and it got a few upvotes.

Someone asked a question, and I posted a response. Then everything got downvotes, so perhaps the response was no longer funny. I probably took it to far. So now I'm posting a clarification.

Or perhaps I'm reading too much into things.

Re: Show HN: Basic.css – Classless CSS Starter File

#67

Earlier quoted context omitted.

I still strongly oppose your use of aside there. (And it was indeed that that I was referring to in my original comment here.) Those cards are part of the flow of the document, not tangentially related to the adjacent content.

Asides have nothing to do with document flow.

“Document flow” was perhaps a poor choice of word because of its overloaded meaning. I meant “the flow of content and writing within the document” rather than the layout term.

Re: Show HN: Basic.css – Classless CSS Starter File

#68

I do like these frameworks. Far more sites should use one of those or the principle behind them. My page [1] uses concrete [2] and has a page load of 125kb (including my picture) and loads in less than one second. I don't need all that bloat that comes with a lot of pages (checkout wired.com for a negative example). The cards of this one look neat, but in case I need something like that I would add it myself to concr…

I updated my page, it now has a page load of 12.1 KB.
Post reply on HN