프로젝트
GitHub에서 보기
ahume/selector-queries
소개
Adjust the layout of an HTML element based on its width
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSelector queries and responsive containers
This script allows you to apply different class values to an HTML element based on its width. Use it as follows:
<div data-squery="min-width:400px=wide max-width:10em=small">
<p>Content here</p>
</div>
This will apply a class of wide when the element is wider than 400 pixels and a class of small when it is narrower than 10 ems. It works in all modern browsers back to and including IE6.
That's all.
관련 프로젝트 살펴보기
불러오는 중…