Home > Uncategorized > cool stuff I learned from project 2

cool stuff I learned from project 2

rounded corners in CSS
Just add these to your div code:
-moz-border-radius: 15px;
-webkit-border-radius: 15px;

Transparency in CSS
Just add these to your div code:
background: rgba(255, 255, 255, 0.7);

*rgba=red, green, blue, alpha. Just change the value from 0.1-0.9

Auto redirect to another page:
Place this in the .php form after the “head” tag

META HTTP-EQUIV=”Refresh” CONTENT=”0;URL=http://www.oswego.edu”>

* the value after content and before the url signifies the amount of seconds before the redirect

Advertisement
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.