Skip to content
#

CSS

css logo

Cascading Style Sheets (CSS) is a language used most often to style and improve upon the appearance of views. It allows for the separation of presentation and content, and includes the characteristics of layouts, colors and fonts. CSS builds upon HTML to make webpages more interactive and appealing to the user.

Here are 48,036 public repositories matching this topic...

bootstrap
DaleyKD
DaleyKD commented Jan 20, 2020

The docs for the vertically centered don't appear to fully match what should be shown. The "Launch Demo Modal" text should be "Vertically centered modal," but what really matters is that there's no class mentioned for modal-dialog-scrollable in the Vertically Centered section.
image

V

electron
mathisjay
mathisjay commented Dec 23, 2019

Similar to the 'infinite' utility class:

animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

or the 'delay' utilities:

.animated.delay-1s {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.animated.delay-2s {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

It would be great if there were s

Front-End-Checklist
pere
pere commented Oct 22, 2019

Hi, I have been spending quite sometime wondering why a simple dropdown was not working.
Is not specified on the docs that the must have the class 'dropdown-trigger' (any other is not triggering the dropdown!)

Just a matter of documentation but crucial in order not to waste time :.)
example, this will not work:

<a class='dropdown-button-example btn' href='#' data-target='dropdo
styled-components
r4j4h
r4j4h commented Dec 23, 2019

Bug: Psuedo-selector behavior differs when newlines present in selector in DOM

Important pieces:

  • pseudo-selector is required to exhibit behavior
  • newlines in selector (without commas) are required to exhibit behavior
  • styled-component references work cleanly, but were removed to keep the example concise. See proof at end. [1]
  • a Styled Component div that styles children is being us
1vanLuo
1vanLuo commented Jul 6, 2018

分页插件每次切换没有设计成跳到首页,例如有108条数据,初始limit=10,当我点到第5页的时候切换成limit=50,这时页码会变成3(也就是最后一页),表格里面只有8条数据,导致用户第一感觉以为数据加载出错。为了解决这个办法,我尝试在jump回调方法判断,如果limit变了,就触发layui-laypage-btn的click事件跳转到第一页,结果发现并没有执行click事件,具体代码如下。
`jump: function (obj, first) {
var olimit = _this[thisid].page.limit; //切换limit之前的值
_this[thisid].page.curr = obj.curr;

inexist3nce
inexist3nce commented May 24, 2015

The responsive menu at http://purecss.io/layouts/tucked-menu-vertical/ does not adjust height as one would expect.

When viewing in a screen smaller than 768px, the "responsive" menu has a fixed height that could potentially cause issues with long menus (or in really small screens with wrapping text).

This can be fixed by replacing the hardcoded height: 14em; at line 69 with height: auto;.

tailwindcss
michaelwarren1106
michaelwarren1106 commented Jan 7, 2020

https://github.com/tailwindcss/tailwindcss/blob/v1.1.4/src/plugins/css/preflight.css#L101

is the reset in question.

In my project, I have a UI component library that is composed entirely of composable shadow dom UI components (built with StencilJS) and exposed as web components. I'm in the process of converting the styling of these components to tailwind and I discovered that when i tried to

InTheScript
InTheScript commented Oct 2, 2019

When scrolling up from the bottom of the page elements are not revealed until the top edge is within the viewport, when scrolling up the bottom edge of the element coming into view should trigger the reveal - especially where viewFactor is set to 0.0.

options.viewFactor specifies what portion of an element must be within the viewport for it to be considered visible.

Environment

bernica
bernica commented Jan 28, 2020

Is your feature request related to a problem? Please describe.
When implementing a textField with next return key type, the keyboard is dismissed and focusing another textField brings it back BUT a flick is produced.

Describe the solution you'd like
I'd like to be able to prevent the textFieldShouldReturn implementation from always dimissing soft input.

**Describe alternatives yo

funlee
funlee commented Mar 6, 2019

在ES5中,顶层对象的属性和全局变量是等价的,var 命令和 function 命令声明的全局变量,自然也是顶层对象。

var a = 12;
function f(){};

console.log(window.a); // 12
console.log(window.f); // f(){}

但ES6规定,var 命令和 function 命令声明的全局变量,依旧是顶层对象的属性,但 let命令、const命令、class命令声明的全局变量,不属于顶层对象的属性。

let aa = 1;
const bb = 2;

console.log(window.aa); // undefined
console.log(window.bb); // undefined

在哪里?怎么获取?通过在设置断点,看看浏览器是

martinlindenlauf
martinlindenlauf commented Nov 9, 2019

the link to "Less.js Syntax Highlighting User Defined Language by Raúl Salitrero" is broken at lesscss.org/tools/ in section "Notepad++" (probably because the NPP project moved to github).
The version by azrafe7 (next link) seems to be a further developed version of the version by Raúl Salitrero (who's version is mentioned by azrafe7 as the 'initial version'), so may

Created by Håkon Wium, Lie Bert Bos

Released December 17, 1996

Website
www.w3.org/Style/CSS/Overview.en.html
Wikipedia
Wikipedia

Related Topics

react css-preprocessors bootstrap
You can’t perform that action at this time.