css에 대한 검색결과 139
  •  [비공개] Unfixed

    Right in the middle of AEA Atlanta—which was awesome, I really must say—there were two announcements that stand to invalidate (or at least greatly alter) portions of the talk I delivered. One, which I believe came out as I was on stage, was the publication of the latest draft of the CSS3 Positioned Layout Module. We’ll see if it triggers change or not; I haven’t read it yet. The oth..
  •  [비공개] Using max-width on images can make them dis..

    I recently ran into a problem that was really hard to figure out. I was working on a responsive design where I used img {max-width:100%;} to make sure that images would be downsized rather than overflow in narrower viewports. It worked great everywhere… until I went to check in IE8. The site’s logo was gone! None of the usual IE bug fixes cured the problem, and it took me quite a while to r..
  •  [비공개] CSS의 Margin, Padding, Border 개념을 명확하게 하자

    90년대 후반부터 HTML을 시작한 분들은 CSS 보다는 태그와 태그를 활용해서 HTML을 작업하는데 익숙해 있기는 합니다. 그래서인지 CSS에 대해서 명확하게 이해하지 못하고 있는 부분들이 있는 것 같습니다. 특히 Margin과 Padding과 같은 부분에 대해서 가끔 헤깔려 하는 것 같아서 정리해 보려고 합니다. 위 ..
  •  [비공개] Visited links can only be differentiated by..

    Showing whether a link on a web page has been visited or not can be very useful. One example that many will be familiar with is how it helps you know which links you have already followed from a Google search results page – links to pages you have already visited are a different colour than the other links. Changing only the colour can be a bit subtle though, especially for people with colour..
  •  [비공개] Screen readers and CSS

    As I have noted in a couple of blog posts recently, there are some cases when CSS has quite unexpected results in screen readers (or the way web browsers create the accessibility information they hand over to screen readers). If you haven’t read them, the posts are Screen readers, list items and list-style:none and Using display:table has semantic effects in some screen readers. Here are a fe..
  •  [비공개] An accessible, keyboard friendly custom sel..

    I’ve always been wary of styling form elements too much. Possible usability and accessibility issues, browser quirks, and the fact that the CSS specification does not define form control styling are the main reasons. With that said, sometimes you have to do things you don’t really want to. Like styling select elements, which I’ve recently had to find a way to do. There are quite a few wor..
  •  [비공개] “웹페이지도 책처럼 넘겨 읽자”…새 CSS 코드 공개

    웹브라우저에서 인터넷 기사를 종이신문처럼 넘겨서 읽는다면 어떨까. CSS의 창시자이자 오페라소프트웨어 최고기술책임자(CTO)인 호콘 뷔움 리는 10월11일 열린 오페라소프트웨어의 연례행사 업노스웹(UpNorth Web) 컨퍼런스에서 웹브라우저에서 인터넷 기사를 종이책처럼 넘겨 읽는 모습을 시연했다. 호..
  •  [비공개] Using display:table has semantic effects in..

    Sometimes you may want the layout properties that HTML tables have, but you don’t want the semantics of a table since you’re not really working with tabular data. A couple of examples are creating equal height boxes and making an unknown number of items flexibly occupy all available horizontal space. In situations like these you can use CSS to tell any HTML elements you want to behave like ..
  •  [비공개] Screen readers, list items and list-style:n..

    It’s more or less common practice these days to use real HTML lists when what you’re marking up makes logical sense as a list. If you don’t want it to look like a standard ordered or unordered list, that’s easy to fix with a bit of CSS. The underlying semantics will still be there for people using browsers without CSS support or screen readers. But will it? The short answer is no, not a..
  •  [비공개] Line-height in input fields

    So the other day I was trying to get text input fields to have the same height across browsers. I figured I could use the line-height property for this, but no such luck. Well, it does work in WebKit browsers, but not in Firefox. When looking closer at why I discovered that Firefox specifies line-height for form controls in its user agent stylesheet using the !important keyword. Since you can..
  •  [비공개] Do not use display:none to visually hide co..

    When auditing websites for accessibility I occasionally find elements that are incorrectly hidden with display:none. The most common example is probably skip links intended to help keyboard and screen reader users. The irony is that those well-intended skip links are made useless by display:none. The pitfalls of using display:none have been widely known among accessibility-conscious web develop..
  •  [비공개] 네비게이션 메뉴에 SVG 적용한 애플홈

    최근 홈페이지 리뉴얼 프로젝트를 중간에 인수받아 우여곡절 끝에 마무리하고 성공적으로 오픈했습니다. 안정화 기간이라서 여러 개선/교정/변경 사항들이 속출하고 있는 가운데 참 재미있는 항목이 하나 있었습니다. "애플의 홈페이지는 로고와 메뉴가 아무리 확대해도 깨지지 않는다. 우리도 그렇..
  •  [비공개] Adaptive Web Design (Book review)

    You have likely seen the term “progressive enhancement” quite a lot, especially if you’re a regular reader of this website. But do you understand exactly what it means, and do you try to apply it in every detail of your daily work? If the answer is no, you’re far from alone. The last couple of years, with HTML5 (or more correctly parts of CSS3 and various JavaScript techniques) becoming..
  •  [비공개] Responsive Web Design (Book review)

    Reading Ethan Marcotte’s book Responsive Web Design was a strange experience in some ways. While much of the techniques and philosophies described in the book are familiar to me, reading about everything from flexible design to mobile first with media queries carefully distilled into one book was something of a revelation that brought back feelings from over a decade ago. Ethan opens the book..
  •  [비공개] 프론트앤드 개발자, 그리고 아직은 후보 미드필더

    축구로 보자면 프론트앤드 직군에서 일하는 사람들은 미드필더같다. 경기 조율은 물론이고, 공격과 수비 모두에서 제 역활을 해야만 한다. 공격시에는 공격진에게 훌륭한 패스를 전달해주어야 하며, 수비시에는 상대편 공격을 1차적으로 저지하는 임무를 갖는다. 또, 미드필더들은 개개인의 역량에 ..