Made this button hover effect using CSS animations and gradients. Hope you like it!
A Pen by Chris Colvin on CodePen.
Made this button hover effect using CSS animations and gradients. Hope you like it!
A Pen by Chris Colvin on CodePen.
Table of Contents generated with DocToc
#import <QuartzCore/QuartzCore.h> | |
// Form validation. You'll probably place this in your buttonClicked action | |
if ([textField.text isEqualToString:@""]) // checks if field is empty, add other form validation here | |
{ | |
textField.layer.cornerRadius = 8.0f; | |
textField.layer.masksToBounds = YES; | |
textField.layer.borderColor = [[UIColor redColor] CGColor]; | |
textField.layer.borderWidth = 1.0f; | |
} |