Skip to main content

PRACTICAL 3_2

PRACTICAL 2

Create a webpage to show the dinner menu for a restaurant. Use Cascading menu (using CSS2.0) to display dinner menu.


THEORY
A dinner menu webpage have been made using CSS attributes.
Futher more important attributes are used like background-color,color,width,top,postion ,font-family,font-weight and many more.

IMPORTANT TAGS & ATTRIBUTES:
  • .header li a:hover:The :hover selector is used to select elements when you mouse over them.
  • .header ul:first-child: The :first-child selector is used to select the specified selector, only if it is the first child of its parent.
  • object-fit:The CSS object-fit property is used to specify how an <img> or <video> should be resized to fit its container.
  • margin:The CSS margin roperties are used to create space around elements, outside of any defined borders.
  • text-align:The text-align property specifies the horizontal alignment of text in an element.
SCREENSHOT WEB PAGE:









NAME:AYUSH SINGLA
ID:18CE122

Comments