responsive

CSS Multistep Progress bar

孤者浪人 提交于 2019-11-29 18:11:48
I can't figure out why there is space to the right of the first step when i write more then 13 letters in it. If i only write step 1 then it's fine. See below the code. Or visit my codepen . Can someone put me in the right direction, please. I have also included some screen shots when it's working properly. HTML <div class="container"> <ul class="progress--bar"> <li class="active">Step 1 space to the right</li> <li>Step 2 is good</li> <li>Step 3 is good</li> </ul> </div> CSS .container { text-align: center; color: #20BEC6; margin: 30vh auto; .progress--bar { counter-reset: step; display: table

How to change the flex order when wrapping [closed]

自古美人都是妖i 提交于 2019-11-29 17:31:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I would like to achieve something that renders like this depending on the screen size: +---------------------------+ | A | B | C | +---------------------------+ +---------------+ | A | C | | B | +---------------+ if all size are fixed, i can manage using the flex order property

Bootstrap Grid - Square Tiles with same horizontal/vertical gap

走远了吗. 提交于 2019-11-29 11:47:16
I'm trying to create a Grid of Tiles with Bootstrap with the following properties: all tiles should be squares horizontal and vertical gaps should be the same (even the same compared on different screen-widths) the tiles should always be centered in the middle of the screen(distance from the left edge of website to the left border of the leftmost tile = distance from the right edge of the website to the right border of the righmost tile) It should look like this: body{ background: #a5b5c5; background:lightblue !important; } .box{ height: 180px; width: 180px; background: #fff; border-radius:

How to detect ONLY with CSS mobile screens

二次信任 提交于 2019-11-29 07:55:11
I've found a lot of threads here talking about CSS and mobile screens. After my searching, i couldn't find solution for some devices. For example: Motorola Moto G4 Plus uses FULL HD width(1080px), only bootstraps detect the xs-view configuration. Styling and trying and trying i couldn't get some styles setted up. So, how can i make the same procedure as Bootstrap to set up my styles and in general procedure for all devices? Please, only CSS or as much JS(if it possible, don't), the same as bootstrap. I've tried @media screen and @media all queries. Doesn't work. Thanks for reading. Virgil de

Vaadin - Responsive Columns

こ雲淡風輕ζ 提交于 2019-11-29 04:54:16
I'm new to using Vaadin and have been trying to work out how I can make 2 Components be side by side when at full screen, but then stack on top of each other when the screen is mobile. My current understanding is that a HorizontalLayout puts things side by side. And a VerticalLayout puts things on top of one another. So how do I go about using the functionality from both? You need to look into using a different Layout type. Vaadin offers you a CssLayout and CustomLayout as well as the standard Vertical and Horizontal. My personal favourite at the moment is using a CssLayout and then using a

How can I custom table responsive materialize?

倖福魔咒の 提交于 2019-11-28 12:06:23
问题 My script like this : <table class="responsive-table"> <thead> <tr> <th>Mon</th> <th>Tue</th> <th>Wed</th> <th>Thr</th> <th>Fri</th> <th>Sat</th> <th>Sun</th> </tr> </thead> <tbody> <tr> <td> <ul> <li>09:00-09:30</li> <li>10:00-10:30</li> </ul> </td> <td> <ul> <li>14:00-14:30</li> </ul> </td> <td> <ul> <li>12:30-13:00</li> <li>14:00-14:30</li> </ul> </td> <td> <ul> <li>15:00-16:00</li> </ul> </td> <td> <ul> <li>16:00-16:30</li> </ul> </td> <td> <ul> <li>09:00-09:30</li> </ul> </td> <td> <ul>

CSS Multistep Progress bar

岁酱吖の 提交于 2019-11-28 12:02:27
问题 I can't figure out why there is space to the right of the first step when i write more then 13 letters in it. If i only write step 1 then it's fine. See below the code. Or visit my codepen. Can someone put me in the right direction, please. I have also included some screen shots when it's working properly. HTML <div class="container"> <ul class="progress--bar"> <li class="active">Step 1 space to the right</li> <li>Step 2 is good</li> <li>Step 3 is good</li> </ul> </div> CSS .container { text

The values of meta viewport attribute are not reflected when in full screen mode in android chrome browser

南楼画角 提交于 2019-11-28 10:37:54
When I am in full screen mode in android using fullscreen api, the values of meta viewport attribute like initial-scale and user-scalable are not reflected in the browser. If I am not in full screen mode, the values of meta viewport are reflected. You can check it by accessing MDN:Fullscreen api example from a mobile browser I don’t find any source saying meta viewport will be disabled in fullscreen in android. So am I making any mistake or no one has documented it? Also pinch and zoom is disabled when in fullscreen Raised a issue in https://github.com/whatwg/fullscreen/issues/111 but no luck.

Bootstrap 4 collapse navbar with Angular 4

柔情痞子 提交于 2019-11-28 10:34:45
I want to make a navbar using Bootstrap 4 and Angular 2 that collapses his content on a button when the width of the browser reaches some value. I achieve this, and when the navbar collapses I can see the button that encloses the elements in the navbar, but this button doesn't work. How can I fix this without using jquery? I was trying to use ng-bootstrap. In the image you can see the button when the navbar collapses. My code so far: <nav class="navbar navbar-expand-md fixed-top navbar-dark custom-nav"> <span class="navbar-brand mb-0 h1">Partes vehículos</span> <button class="navbar-toggler"

Bootstrap Grid - Square Tiles with same horizontal/vertical gap

这一生的挚爱 提交于 2019-11-28 05:17:26
问题 I'm trying to create a Grid of Tiles with Bootstrap with the following properties: all tiles should be squares horizontal and vertical gaps should be the same (even the same compared on different screen-widths) the tiles should always be centered in the middle of the screen(distance from the left edge of website to the left border of the leftmost tile = distance from the right edge of the website to the right border of the righmost tile) It should look like this: body{ background: #a5b5c5;