CSS min-width Property

Chandu yadav
Updated on 04-Mar-2020 12:13:58

157 Views

The min-width property is used to set the minimum width that a box can be. The value of the min-width property can be a number, a length, or a percentage.Example                            This paragraph is 100px high and min width is 400px          This paragraph is 100px high and min width is 400px              

CSS max-height Property

Lakshmi Srinivas
Updated on 04-Mar-2020 12:13:27

113 Views

The max-height property is used to set a maximum height that a box can be. The value of the max-height property can be a number, a length, or a percentage.Example                            This paragraph is 400px wide and max height is 10px          This paragraph is 400px wide and max height is 10px          This paragraph is 400px wide and max height is 10px          This paragraph is 400px wide and max height is 10px                                  

CSS Line Height Property

karthikeya Boyini
Updated on 04-Mar-2020 12:11:45

120 Views

The line-height property is used to set the height of a line of text. The value of the line-height property can be a number, a length, or a percentage.Example                            This paragraph is 300 pixels wide and 100 pixels high and here line height is 50 pixels.          

CSS Width Property

Samual Sam
Updated on 04-Mar-2020 12:10:41

118 Views

The width property is used to set the width of a box. They can take values of a length, a percentage, or the keyword auto. You can try to run the following code to set width −Example                            This paragraph is 200pixels wide and 50 pixels high          

CSS Height Property

Lakshmi Srinivas
Updated on 04-Mar-2020 12:09:06

115 Views

The height property is used to set the height of a box. They can take values of a length, a percentage, or the keyword auto. ExampleYou can try to run the following code to set height −                             This paragraph is 200pixels wide and 50 pixels high          

Reformat DateTime in MySQL

AmitDiwan
Updated on 04-Mar-2020 11:59:13

434 Views

To re-format datetime in MySQL, you can use DATE_FORMAT(). MySQL gives in the format yyyy-mm-dd.Let us first create a table −mysql> create table DemoTable1558    -> (    -> EmployeeJoiningDate datetime    -> ); Query OK, 0 rows affected (1.10 sec)Insert some records in the table using insert command −mysql> insert into DemoTable1558 values(CURDATE()); Query OK, 1 row affected (0.20 sec) mysql> insert into DemoTable1558 values(NOW()); Query OK, 1 row affected (0.14 sec) mysql> insert into DemoTable1558 values('2018-01-10'); Query OK, 1 row affected (0.20 sec) mysql> insert into DemoTable1558 values('2017-12-31'); Query OK, 1 row affected (0.18 sec)Display all records from ... Read More

Set Outline Style as a Solid Single Line with CSS

karthikeya Boyini
Updated on 04-Mar-2020 11:28:59

106 Views

To set the outline style as a solid single line, use the outline-style property with the value solid −Example                            This text is having 3px solid outline.          

Set Outline Style as Ridge with CSS

Ankith Reddy
Updated on 04-Mar-2020 11:28:16

213 Views

To set the outline style as ridge, use the outline-style property with the value ridge. Under groove, the outline looks as though it is carved into the page. The ridge value is the opposite. Example                            This text is having 3px ridge outline.          

Set Outline Style as Groove with CSS

Samual Sam
Updated on 04-Mar-2020 11:27:43

264 Views

To set the outline style as a groove, use the outline-style property with the value groove. Under groove, the outline looks as though it is carved into the page.− Example                            This text is having 3px groove outline.          

Set Outline Style as Two Solid Lines with CSS

George John
Updated on 04-Mar-2020 11:27:05

163 Views

To set the outline style as two solid lines, use the outline-style property with the value doubleExample                            This text is having 7px double outline.          

Advertisements