responsive

semantic-ui hide element for mobile view

不打扰是莪最后的温柔 提交于 2019-12-04 09:56:53
I am looking for semantic-ui the correct class to hide for example a DIV in mobile view. In Bootstrap its easy there we have "visible-xs" and "hidden-xs". But on semantic ui I only found "mobile only grid" Please visit here just add to your override css file /* Mobile */ @media only screen and (max-width: 767px) { [class*="mobile hidden"], [class*="tablet only"]:not(.mobile), [class*="computer only"]:not(.mobile), [class*="large monitor only"]:not(.mobile), [class*="widescreen monitor only"]:not(.mobile), [class*="or lower hidden"] { display: none !important; } } etc... https://jsfiddle.net

When rotating an iPhone X to landscape, white space appears to the left and below cover image

为君一笑 提交于 2019-12-04 07:02:37
A weird problem occurred today. While testing a simple "coming soon" page my background image on my iPhone X is not filling the entire viewport when rotating to landscape. Tested in Chrome and Safari. A simplified example that produces the problem: html { background: url(http://timwickstrom.com/assets/images/bg.png) no-repeat center center fixed; background-size: cover; padding: 0; margin: 0; width: 100%; height: 100%; overflow: hidden; } <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title></title> <meta name="viewport" content="width

Responsive Nav Bar Hides Element Below it

大憨熊 提交于 2019-12-04 06:52:18
问题 I created a responsive navigation bar, but it makes the element below, a Flexslider plug-in, disappear. Before I made the navigation bar, the Flexslider below would show up just fine, but now it doesn't. The z-index for the navbar is at 2, so I don't know what the problem is. How/What should I change to allow the Flexslider to show and the Navigation bar to still be responsive? Thank you! My code is a bit lengthy, so there are code pens in the comments (it won't let me post them up here for

How to prevent iOS keyboard from pushing the view off screen with CSS or JS

北城以北 提交于 2019-12-03 11:37:31
问题 I have a responsive web page that opens a modal when you tap a button. When the modal opens, it is set to take up the full width and height of the page using fixed positioning. The modal also has an input field in it. On iOS devices, when the input field is focused, the keyboard opens. However, when it opens, it actually pushes the full document up out of the way such that half of my page goes above the top of the viewport. I can confirm that the actual html tag itself has been pushed up to

How to prevent iOS keyboard from pushing the view off screen with CSS or JS

故事扮演 提交于 2019-12-03 02:04:11
I have a responsive web page that opens a modal when you tap a button. When the modal opens, it is set to take up the full width and height of the page using fixed positioning. The modal also has an input field in it. On iOS devices, when the input field is focused, the keyboard opens. However, when it opens, it actually pushes the full document up out of the way such that half of my page goes above the top of the viewport. I can confirm that the actual html tag itself has been pushed up to compensate for the keyboard and that it has not happened via CSS or JavaScript. Has anyone seen this

header not being responsive when resizing

元气小坏坏 提交于 2019-12-02 22:38:39
问题 I have a table where when I resize it wont show my header Steps on the web view it does show perfectly - but when I resize I don't get to see my Steps header. is there way to fix this in my code below with css or jstl/jsf tags? thanks for the help. Something like this: https://imgur.com/a/cSRshbD Image appears: here is my code: table { margin: auto; width: 100%; border-collapse: collapse; border-spacing: 0; } th, td { padding: 5px 10px; } tr { border-bottom: 1px solid #ccc; } thead th {

Reduce space between rows in CSS Grid

拟墨画扇 提交于 2019-12-02 16:35:08
问题 I'm wondering how to reduce the spacing between the rows? I've tried setting margins and paddings to 0, but nothing seems to be biting. Destktop view on the left and mobile view on the right. .content{ margin: 0; padding: 0; width: 100%; display: grid; grid-gap: 5px; grid-template-columns: repeat(36, 1fr); justify-items: stretch; align-content: start; } .one{ grid-column: 1/37; width: 100%; } .two{ grid-column: 1/11; } .three{ grid-column: 12/24; justify-self: center; align-self: start;

header not being responsive when resizing

余生长醉 提交于 2019-12-02 14:03:51
I have a table where when I resize it wont show my header Steps on the web view it does show perfectly - but when I resize I don't get to see my Steps header. is there way to fix this in my code below with css or jstl/jsf tags? thanks for the help. Something like this: https://imgur.com/a/cSRshbD Image appears: here is my code: table { margin: auto; width: 100%; border-collapse: collapse; border-spacing: 0; } th, td { padding: 5px 10px; } tr { border-bottom: 1px solid #ccc; } thead th { border-bottom: 2px solid #ddd; } /* You will need to display:none the duplicated header in responsible-table

Reduce space between rows in CSS Grid

≯℡__Kan透↙ 提交于 2019-12-02 13:23:22
I'm wondering how to reduce the spacing between the rows? I've tried setting margins and paddings to 0, but nothing seems to be biting. Destktop view on the left and mobile view on the right. .content{ margin: 0; padding: 0; width: 100%; display: grid; grid-gap: 5px; grid-template-columns: repeat(36, 1fr); justify-items: stretch; align-content: start; } .one{ grid-column: 1/37; width: 100%; } .two{ grid-column: 1/11; } .three{ grid-column: 12/24; justify-self: center; align-self: start; position: relative; bottom: 5px; } .four{ grid-column: 25/37; } Here's a link to a test site: http://www.acm

Responsive Nav Bar Hides Element Below it

邮差的信 提交于 2019-12-02 13:03:22
I created a responsive navigation bar, but it makes the element below, a Flexslider plug-in, disappear. Before I made the navigation bar, the Flexslider below would show up just fine, but now it doesn't. The z-index for the navbar is at 2, so I don't know what the problem is. How/What should I change to allow the Flexslider to show and the Navigation bar to still be responsive? Thank you! My code is a bit lengthy, so there are code pens in the comments (it won't let me post them up here for some reason) Here is a link to the website without the responsive navigation, but it shows the