Skip to content
View in the app

A better way to browse. Learn more.

OKCCN — XenForo & IPS Extensions by HuoNiu

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tutorial

  1. 欢迎使用本站积分系统!积分是本站的虚拟货币,可以用来解锁付费内容、购买资源、以及转赠给其他会员。本文将详细介绍积分的所有获取方式与消耗方式。 一、如何获得积分1. 注册奖励只要你完成账户注册并通过验证,系统就会自动发放一笔注册欢迎积分。这是你在本站获得的第一笔积分,开门红! 2. 每日签到每天登录后前往签到页面完成签到,即可随机获得一定数量的积分。每天只能签到一次,坚持每天签到积累更多积分! 3. 发帖/发布内容每当你在论坛发布新帖子、写新文章、上传图片等内容时,系统会自动奖励你一定数量的积分。内容创作越多,积分越多。(管理员可设置每日发帖奖励上限) 4. 回复/评论每次回复他人帖子或发表评论,也可以获得积分奖励。积极参与讨论,既能帮助他人,又能积累积分!(管理员可设置每日回复奖励上限) 5. 内容被点赞当其他会员对你发布的内容点赞时,你将自动获得积分奖励。内容质量越高、获得的点赞越多,赚取的积分也就越多。注意:自己给自己点赞不会获得奖励,且每日有获奖上限。 6. 出售付费资源如果你在资源下载区上传了付费文件,每当有人购买你的文件,你将自动获得销售分成(平台会保留一小部分作为手续费)。上传优质资源,持续被动收入! 7. 充值购买积分你可以通过站内充值中心直接购买积分套餐。部分套餐在基础积分之外还会额外赠送bonus积分,购买越多越划算。 8. 消费返积分在本站商城消费真实货币时,可按一定比例换算获得积分返还(是否开启以管理员设置为准)。 9. 其他会员转账其他会员可以直接将积分转给你,转账到账的积分会实时更新到你的余额中。 10. 管理员…

    • 0 replies
    • 524 views
  2. Started by Cavalry,

    CSS Grid Items CSS Grid Items A grid container contains one or more grid items. All direct child elements of a grid container automatically become grid items. Below is a grid container with five grid items: 1 2 3 4 5 Try it Yourself » CSS Sizing/Spanning Grid Items A grid item can span over mulitiple columns or rows. We can specify where to start and end a grid item by using the following properties: grid-column-start - Specifies on which column-line the grid item will start grid-column-end - Specifies on which column-line the grid item will end grid-column - Shorthand property for grid-column-start and grid-column-end grid-row-start - …

    • 0 replies
    • 631 views
  3. Started by Cavalry,

    CSS Grid Container CSS Grid Container A grid container contains one or more grid items arranged in columns and rows. All direct child elements of a grid container automatically become grid items. An element becomes a grid container when its display property is set to grid or inline-grid. 1 2 3 4 5 Try it Yourself » Display Grid Property The <div> element becomes a grid container when its display property is set to grid or inline-grid. Example Use display: grid to make a block-level grid container: .container { display: grid; } Result: 1 2 3 4 5 Try it Yourself » Example Use display: inline-grid to make an i…

    • 0 replies
    • 994 views
  4. Started by Cavalry,

    CSS Text Effects CSS Text Effects CSS has some properties to handle text overflow, word wrapping, line breaking rules and writing modes. In this chapter you will learn about the following properties: text-overflow - Specifies how to handle overflowed content word-wrap - Allows long words to be able to be broken and wrap onto the next line word-break - Specifies line breaking rules writing-mode - Specifies whether lines of text are laid out horizontally or vertically CSS text-overflow Property The CSS text-overflow property specifies how overflowed content that is not displayed should be signaled to the user. It can be clipped or rendered with ellipsis …

    • 0 replies
    • 1k views
  5. Started by Cavalry,

    CSS Specificity CSS Specificity CSS specificity is an algorithm that determines which style declaration is ultimately applied to an element. If two or more CSS rules point to the same element, the declaration with the highest specificity will "win", and that style will be applied to the HTML element. Look at the following examples: Example Here, we have specified a red color for <p> elements. Result: The text will be red: <html> <head> <style> p {color: red;} </style> </head> <body> <p>Hello World!</p> </body> </html> Try it Yourself » Now, look at next example: Example…

    • 0 replies
    • 451 views
  6. Started by Cavalry,

    CSS The overflow Property The CSS overflow Property The CSS overflow property controls what happens to content that is too big to fit into an area. It specifies whether to clip the content or to add scrollbars when the content of an element is too big. The overflow property has the following values: visible - Default. The overflow is not clipped. The content renders outside the element's box hidden - The overflow is clipped, and the rest of the content is hidden scroll - Scrollbars are added. User must scroll to see all content auto - Similar to scroll, but adds scrollbars only when necessary Here, scrollbars are added on overflow: Lorem ipsum dolor sit amet, …

    • 0 replies
    • 1k views
  7. Started by Cavalry,

    CSS The display Property The CSS display Property The display property is an important CSS property for controlling layout. It specifies whether an HTML element is treated as a block or an inline element. Every HTML element has a default display value, depending on what type of element it is. The default display value for most elements is block or inline. The display property is used to change the default display behavior of HTML elements. Block-level Elements A block-level element ALWAYS starts on a new line and takes up the full width available (stretches out to the left and right as far as it can). The <div> element is a block-level element. Exa…

    • 0 replies
    • 944 views
  8. Started by Cavalry,

    CSS Browser Support Reference CSS Reference With Browser Support The table below lists all CSS properties and how each property is supported in the different browsers: The number to the right of the browser icon indicates in which browser version the property was first supported. Property Edge Firefox Chrome Safari Opera A accent-color 93 92 93 15.4 79 align-content 16 52 57 10.1 44 align-items 16 52 57 10.1 44 align-self 16 52 57 10.1 44 all 79 27 37…

    • 0 replies
    • 487 views
  9. Started by Cavalry,

    CSS Default Values Reference Default CSS Values for HTML Elements The table below shows the default CSS browser values for all HTML elements. Element Default CSS Value Try it a:link color: (internal value); text-decoration: underline; cursor: auto; Try it » a:visited color: (internal value); text-decoration: underline; cursor: auto; Try it » a:link:active color: (internal value); Try it » a:visited:active color: (internal value); Try it » abbr None. address display: block; font-style: italic; Try it » area display: none; article display: block; aside display: block; …

    • 0 replies
    • 410 views
  10. Started by Cavalry,

    CSS Legal Color Values CSS Colors Colors in CSS can be specified by the following methods: Hexadecimal colors Hexadecimal colors with transparency RGB colors RGBA colors HSL colors HSLA colors Predefined/Cross-browser color names With the currentcolor keyword Hexadecimal Colors A hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color. All values must be between 00 and FF. For example, the #0000ff value is rendered as blue, because the blue component is set to its highest value (ff) and the others are set to 00. Example Define different HEX colors: …

    • 0 replies
    • 476 views
  11. Started by Cavalry,

    CSS Colors Color Names Supported by All Browsers All modern browsers support the following 140 color names (click on a color name, or a hex value, to view the color as the background-color along with different text colors): For a full overview of CSS colors, visit our colors tutorial. AliceBlue #F0F8FF Color Mixer Color Picker AntiqueWhite #FAEBD7 Color Mixer Color Picker Aqua #00FFFF Color Mixer Color Picker Aquamarine #7FFFD4 Color Mixer Color Picker …

    • 0 replies
    • 498 views
  12. Started by Cavalry,

    PX to EM Conversion PX to EM Converter Set a default font size (usually 16px) Then, convert a pixel value to em, based on the default size Or, convert an em value to pixels, based on the default size Set a default font size: px Convert PX to EM: px Convert EM to PX: em Convert Result: Body Font Size In the table below, select a body font size in pixels (px) to display a complete "px to em and percent" conversion table. Tip: The default font size is usually 16px. What is the difference between PX, EM and Percent? Pixel is a static measurement, while percent and EM are relative measurements. Percent depends on its parent font …

    • 0 replies
    • 405 views
  13. Started by Cavalry,

    CSS Units CSS Units CSS has several different units for expressing a length. Many CSS properties take "length" values, such as width, margin, padding, font-size, etc. Length is a number followed by a length unit, such as 10px, 2em, etc. Example Set different length values, using px (pixels): h1 { font-size: 60px; } p { font-size: 25px; line-height: 50px; } Try it Yourself » Note: A whitespace cannot appear between the number and the unit. However, if the value is 0, the unit can be omitted. For some CSS properties, negative lengths are allowed. There are two types of length units: absolute and relative. Absolute Lengths The absolute length un…

    • 0 replies
    • 478 views
  14. Started by Cavalry,

    CSS Animatable Definition and Usage Some CSS properties are animatable, meaning that they can be used in animations and transitions. Animatable properties can change gradually from one value to another, like size, numbers, percentage and color. Browser Support The animation properties are supported in all modern browsers. The numbers in the table specifies the first browser version that fully support CSS animations. 43 10 16 9 30 Example Animate the background-color from red to blue: @keyframes mymove { from {background-color: red;} to {background-color: blue;} } Try …

    • 0 replies
    • 456 views
  15. Started by Cavalry,

    CSS Web Safe Fonts Best Web Safe Fonts for HTML and CSS The following fonts are the best web safe fonts for HTML and CSS: Arial (sans-serif) Verdana (sans-serif) Tahoma (sans-serif) Trebuchet MS (sans-serif) Times New Roman (serif) Georgia (serif) Garamond (serif) Courier New (monospace) Brush Script MT (cursive) Note: Before you publish your website, always check how your fonts appear on different browsers and devices, and always use fallback fonts! Arial (sans-serif) Arial is the most widely used font for both online and printed media. Arial is also the default font in Google Docs. Arial is one of the safest web fonts, and it is availa…

    • 0 replies
    • 466 views
  16. Started by Cavalry,

    CSS Aural Reference Aural Style Sheets Aural style sheets use a combination of speech synthesis and sound effects to make the user listen to information, instead of reading information. Aural presentation can be used: by blind people to help users learning to read to help users who have reading problems for home entertainment in the car by print-impaired communities The aural presentation converts the document to plain text and feed this to a screen reader (a program that reads all the characters on the screen). An example of an Aural style sheet: @media aural { h1, h2, h3, h4 { voice-family: male; richness: 80; cue-before: …

    • 0 replies
    • 420 views
  17. Started by Cavalry,

    CSS Functions Reference CSS Functions CSS functions can be used to calculate values, manipulate strings or colors, create complex gradients and shapes, and more. CSS functions are typically used as values for various CSS properties. Function Description acos() Returns the inverse cosine of a number between -1 and 1 asin() Returns the inverse sine of a number between -1 and 1 atan() Returns the inverse tangent of a number between -∞ and ∞ atan2() Returns the inverse tangent of two values between -infinity and infinity attr() Returns the value of an attribute of the selected element …

    • 0 replies
    • 1k views
  18. Started by Cavalry,

    CSS At-rules Reference CSS At-rules CSS at-rules are statements that instruct CSS on how to behave. Each at-rule begins with an @ followed by a name. The table below shows the different at-rules in CSS: At-rule Description @charset Specifies the character encoding used in the style sheet @container Define styles for elements in container, depending on the container's size or style @counter-style Lets you define your own counter styles @font-face Specifies a custom font with which to display text @font-palette-values Allows you to customize the default values of a font-palette …

    • 0 replies
    • 397 views
  19. Started by Cavalry,

    CSS Pseudo-elements Reference CSS Pseudo-elements A CSS pseudo-element is used to style specific parts of an element. For example, it can be used to: Style the first letter or line, of an element Insert content before or after an element Style the markers of list items Style the viewbox behind a dialog box The table below shows the different pseudo-elements in CSS: Pseudo-element Example Example description ::after p::after div::after Inserts something after the content of the specified element ::backdrop dialog::backdrop Styles the viewbox behind a dialog box or popover element ::before p:…

    • 0 replies
    • 428 views
  20. Started by Cavalry,

    CSS Pseudo-classes Reference CSS Pseudo-classes A CSS pseudo-class is a keyword that can be added to a selector, to define a style for a special state of an element. Some common use for pseudo-classes: Style an element when a user moves the mouse over it Style visited and unvisited links differently Style an element when it gets focus Style valid/invalid/required/optional form elements Style an element that is the first child of its parent Syntax Pseudo-classes are always denoted by a single colon (:) followed by the pseudo-class name: selector:pseudo-class-name { CSS properties } The table below lists all the pseudo-class keywords in CSS: …

    • 0 replies
    • 436 views
  21. Started by Cavalry,

    CSS Combinators Reference CSS Combinators A combinator is a sign that explains the relationship between selectors. The table below shows the different combinators in CSS: Name Sign Example Example Result Child combinator > div > p Selects every <p> element that are direct children of a <div> element Descendant combinator (single space) div p Selects all <p> elements inside <div> elements Namespace separator | ns | h2 Selects all <h2> elements in namespace ns Next-sibling combinator + div + p Selects the first <p> eleme…

    • 0 replies
    • 429 views
  22. Started by Cavalry,

    CSS Selector Reference CSS Selectors CSS selectors are used to "find" (or select) the HTML elements you want to style. Use our CSS Selector Tester to demonstrate the different selectors. CSS Simple Selectors The simple selectors select elements based on element-name, id, and class. In addition, there is the universal selector (*). Selector Example Example description element p Selects all <p> elements #id #firstname Selects the element with id="firstname" * * Selects all elements .class .intro p.intro Selects all elements with class="intro" Selects all <p> elemen…

    • 0 replies
    • 384 views
  23. Started by Cavalry,

    CSS Reference CSS Properties A accent-color Specifies an accent color for user-interface controls align-content Specifies the alignment between the lines inside a flexible container when the items do not use all available space align-items Specifies the alignment for items inside a flexible container align-self Specifies the alignment for selected items inside a flexible container all Resets all properties (except unicode-bidi and direction) animation A shorthand property for all the animation-* properties animation-delay Specifies a delay for the start of an animation …

    • 0 replies
    • 376 views
  24. Started by Cavalry,

    W3Schools CSS Certificate W3Schools offers an Online Certification Program. The perfect solution for busy professionals who need to balance work, family, and career building. More than 50 000 certificates already issued! Get Your Certificate » W3Schools offers an Online Certification Program. The perfect solution for busy professionals who need to balance work, family, and career building. More than 50 000 certificates already issued! Get Your Certificate » Document your skills Improve your career Study at your own pace Save time and money Known brand Trusted by top companies Who Should Consider Getting Cert…

    • 0 replies
    • 482 views
  25. Started by Cavalry,

    W3Schools CSS Bootcamp HTML & CSS Bootcamp Learn with W3Schools. Live online learning sessions. Duration: 3 Weeks. Learn More Live Online Bootcamp In this bootcamp, you will learn the foundational skills needed to create beautiful and functional websites, from writing HTML markup to styling your pages with CSS. You will learn HTML and CSS over a 3 weeks period together with a live instructor and an interactive cohort of engaged learners! You Will Learn HTML and CSS fundamentals including Elements, Attributes, Tables, Forms and more. How to write best fit Semantic HTML How to create y…

    • 0 replies
    • 1.5k views

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.