1265 1
Type
Question
1215 1
how to place div centered inside div?

How can i place <div> in center horizontally which is inside another <div> using CSS?

I don't want to use position:absolute property

Example code:

...
Type
Question
1203 1
How to create bootstrap dropdown with hover animation?

I would like to create a bootstrap dropdown with hover animation, how can I create it?

My Current HTML code is as below, which is a basic drop-down menu created using Bootstrap.

HTML

...
Type
Question
1152 1
how to maintain aspect ratio using CSS?

Hello, I want to maintain an aspect ratio of a div using CSS, I know we can do it with javascript also, but I would like to maintain aspect ratio using CSS only.

Is there any way to change height according to width, maintaining the aspect ratio using any CSS rule or property?

...

Type
Question
1131 1
How to force HTML table row to show data in single row using CSS?

How can I force HTML table row data (data inside <td>) to show it in single line instead of multiple lines using CSS, for example take a look at the below image

...

Type
Question

989 2
Search form's select dropdown does not work on Apple phones

I have a search form consisting of 5 html selects, on a site which is running Bootstrap 4.1. This does not work on Apple phones, because when the visitor touches the select, the dropdown of options does not appear. This works fine on computers and android devices. Does anyone have a work around?

...
Type
Question
918 1
How to make bootstrap dropdown appear on hover instead of click?

I have a bootstrap dropdown on my website, it opens when a user clicks on it like this https://jsfiddle.net/od3n/8T6Vm/, now I need to show dropdown options on hover instead of click, how can I do it?

Thanks

...
Type
Question
492 1
How to right-align button inside Flex div?

How can I right align a button which is index div using CSS flex?

I cannot use float:right or posoition:absolute/relative, so please let me know how can I do this using Flex in CSS.

...
Type
Question

Page 3 of 3