随笔分类 -  CSS3

上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要:This lesson covers flexbox in a reusable mixin that should cover most layout situations on your site. With variables and common defaults, this mixin w 阅读全文
posted @ 2016-11-14 16:56 Zhentiw 阅读(360) 评论(0) 推荐(0)
摘要:When you create a pseudo element, you have access to the parent HTML attributes. They can be used inside the content attribute of a pseudo element. 阅读全文
posted @ 2016-10-27 19:09 Zhentiw 阅读(141) 评论(0) 推荐(0)
摘要:Resize images and videos to fill their parent and maintain their aspect ratio with pure CSS. The new object-fit and object-position properties allow y 阅读全文
posted @ 2016-10-26 22:36 Zhentiw 阅读(209) 评论(0) 推荐(0)
摘要:In this lesson we will use Flexbox to scale a background image to fit on the screen of our React Native application. 阅读全文
posted @ 2016-10-25 02:46 Zhentiw 阅读(395) 评论(0) 推荐(0)
摘要:CSS counters let you create dynamic lists without JavaScript. In this lesson, we will create a multi-level table of contents using the CSS counter-res 阅读全文
posted @ 2016-10-18 21:37 Zhentiw 阅读(134) 评论(0) 推荐(0)
摘要:You can target an element that has no child elements by using the :empty pseudo-class. With browser support down to IE9, it's solid, easy way to selec 阅读全文
posted @ 2016-10-18 04:30 Zhentiw 阅读(172) 评论(0) 推荐(0)
摘要:CSS calc() allows you to mix and match units to get real-time calculations. It's useful when you need to size elements but you have some unknown numbe 阅读全文
posted @ 2016-10-08 16:32 Zhentiw 阅读(159) 评论(0) 推荐(0)
摘要:Learn how to use CSS columns to quickly lay out fluid columns that are responsive, degrade gracefully and don't require extra markup. Notes: column-wi 阅读全文
posted @ 2016-10-02 16:28 Zhentiw 阅读(234) 评论(0) 推荐(0)
摘要:.noselect { -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Chrome/Safari/Opera */ -khtml-user-select: none; /* Konqueror */ -moz-... 阅读全文
posted @ 2016-07-20 20:19 Zhentiw 阅读(288) 评论(0) 推荐(0)
摘要:DOM hierarchy pseudo-classes allow you to style specific elements based on where they fall in the hierarchy and what type of elements they are. You ca 阅读全文
posted @ 2016-06-17 00:56 Zhentiw 阅读(278) 评论(0) 推荐(0)
摘要:Beyond classes and IDs CSS also provides selectors to target element based on their attributes. In this lesson we'll look at selecting elements based 阅读全文
posted @ 2016-06-09 04:51 Zhentiw 阅读(141) 评论(0) 推荐(0)
摘要:CSS combinators allows us to reference the DOM relationship between two or more elements in CSS. 阅读全文
posted @ 2016-05-17 22:41 Zhentiw 阅读(217) 评论(0) 推荐(0)
摘要:Link: http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_text-overflow 阅读全文
posted @ 2016-05-09 16:51 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要:The :target selector allows us to interact with a fragment identifier, or hash, in our URL from CSS. HTML: CSS: 阅读全文
posted @ 2016-05-07 16:32 Zhentiw 阅读(236) 评论(0) 推荐(0)
摘要:Using the order property we alter the order in which flexbox children appear on the page, without making changes to the dom. Desktop Mobile 阅读全文
posted @ 2016-05-03 03:30 Zhentiw 阅读(480) 评论(0) 推荐(0)
摘要:The Flexbox css spec allows for more adjustable layouts. The flex-directionproperty allows you to easily change the layout on the children of an eleme 阅读全文
posted @ 2016-05-02 14:52 Zhentiw 阅读(192) 评论(0) 推荐(0)
摘要:Using CSS media queries allows you to design responsive layout in your web apps and website. We will go over the media query basics in this lesson. 阅读全文
posted @ 2016-04-22 18:53 Zhentiw 阅读(161) 评论(0) 推荐(0)
摘要:Understanding the most common CSS display types of block, inline-block, and inline will allow you to get the most out of your HTML and use CSS Framewo 阅读全文
posted @ 2016-03-07 04:26 Zhentiw
摘要:<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-1.11.3.js"></script> <meta charset="utf-8"> <title>JS Bin</title> </head> <b 阅读全文
posted @ 2016-03-04 15:50 Zhentiw
摘要:The CSS :not() selector allows us to exclude a subset of elements matched by our selector. In this example we refactor two selectors down to one using 阅读全文
posted @ 2016-02-04 05:49 Zhentiw

上一页 1 ··· 7 8 9 10 11 12 13 下一页