         forView.layer.shouldRasterize = true
         forView.clipsToBounds = false
     }
- 
+    
 }

        self.contentView.layer.masksToBounds = true
        self.contentView.layer.cornerRadius = 10
        self.contentView.clipsToBounds = true
    }
    
    // Pass the backgroundColor to contentView
    override public var backgroundColor: UIColor? {
        set {
            super.backgroundColor = .clear
            self.contentView.backgroundColor = newValue
        }

/// So you can create your own UICollectionViewCell without extending from this class.
public class HFCardCollectionViewCell: UICollectionViewCell {
    
    private var firstBackgroundColor: UIColor?
    
    // MARK: Overrides
    
    public override func awakeFromNib() {
