Questions tagged as 'css'

1
answer

Centralize nav element

I can not centralize the <nav> element HTML: <nav class="menu"> <ul> <li><a href="index.html">Home</a></li> <li><a href="#">Responsive</a></li>...
asked by 06.05.2014 / 18:32
3
answers

How do I lock a responsive page in portrait?

Is there any solution to display the web page always in portrait (portrait) on mobile devices, even if the user rotates to the landscape mode? That is, always locked in portrait.     
asked by 13.03.2014 / 20:42
2
answers

How to apply scrollbar only in the tbody element in an HTML table?

How to apply scrollbar (scrollbar) only to element tbody , thus leaving element caption and thead fixed in table, without moving when scrollbar moves. > Below is the HTML and CSS of the table: bo...
asked by 10.06.2016 / 18:56
2
answers

Placing control to advance and return in Slide Show

I would like to know how I can change the Slide Show script below so that it works with two action controls named Next and Previous and I need the Slide to only change the text if the user clicks one of the buttons to make the change of the Slid...
asked by 01.09.2015 / 16:30
1
answer

Apply the CSS property "content" without resorting to the style sheet

I have a web-site that is available in several languages, and to not have to redo the entire structure of an image slider, there is a small text that is currently being applied through the :before (English) making use of conten...
asked by 28.01.2014 / 23:32
2
answers

How to put two backgrounds on the same page?

I'm creating an HTML page with CSS, and I'd like to know how to put two backgrounds on the same HTML page via CSS. I have this image: I want to put this image in the top, but its height is not enough to cover the entire page, so I want to...
asked by 29.01.2014 / 16:43
1
answer

Back to top button with CSS only. Mild scrolling with only CSS possible?

I know that here on the site there are a lot of Soft Scroll and Button issues for "back to top" ( back to top ), but they all involve JavaScript or jQuery, but this não is my goal. I would like to make or know if it is now possib...
asked by 29.10.2018 / 13:19
2
answers

Is there any plugin or generator of CSS code for Shapes?

I would like to know if there is a method of creating Shapes using CSS, which I do not have to create and adjust everything from scratch until I can create the shape I want. Is there any way to streamline this? Some standard forms or some gen...
asked by 04.02.2014 / 12:37
2
answers

How do you know if the scroll position is on top of a section?

I do not know if it was clear, but I'll explain, I have several sections on my site, and when I scroll I wanted to do some Javascript effects, as I do to know when exactly the user will be viewing the div, as in Scroll Spy Boostrap? I tried the...
asked by 02.06.2017 / 14:23
2
answers

Hiding half of a content

How do I do what is illustrated in the image? Knowing that content is not just text but buttons and other things on the home page of a site!     
asked by 27.12.2016 / 14:55